Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 195.1 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.165/1.165, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8039/0.8039, allocations: 135.1 MB / 425.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001238, allocations: 60.66 kB / 0.505 GB, free: 5.527 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1346, allocations: 80.93 MB / 0.584 GB, free: 4.762 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005424/0.14, allocations: 4.189 MB / 0.5881 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3541/0.4942, allocations: 148.3 MB / 0.7329 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006333/0.4948, allocations: 15.94 kB / 0.7329 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005896/0.4955, allocations: 133.2 kB / 0.733 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.497, allocations: 420.6 kB / 0.7334 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.4988, allocations: 0.7158 MB / 0.7341 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001471/0.5003, allocations: 1.212 MB / 0.7353 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008842/0.5012, allocations: 0.5491 MB / 0.7358 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006874/0.5019, allocations: 427.2 kB / 0.7362 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006288/0.5025, allocations: 444.8 kB / 0.7367 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001811/0.5027, allocations: 97.66 kB / 0.7367 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.504, allocations: 0.8278 MB / 0.7376 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002278/0.5042, allocations: 259 kB / 0.7378 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004256/0.5046, allocations: 485.7 kB / 0.7383 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.5063, allocations: 1.605 MB / 0.7398 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.5063, allocations: 3.938 kB / 0.7398 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5063, allocations: 5.031 kB / 0.7398 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.5063, allocations: 1.188 kB / 0.7398 GB, free: 10.39 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002191/0.5085, allocations: 1.352 MB / 0.7412 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.5086, allocations: 9.25 kB / 0.7412 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001319/0.5087, allocations: 121.3 kB / 0.7413 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.5098, allocations: 198.8 kB / 0.7415 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008488/0.5107, allocations: 0.6948 MB / 0.7422 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.913e-05/0.5107, allocations: 50.88 kB / 0.7422 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.691e-05/0.5108, allocations: 71.62 kB / 0.7423 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.5122, allocations: 0.831 MB / 0.7431 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.5122, allocations: 5.781 kB / 0.7431 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.647e-05/0.5123, allocations: 29.41 kB / 0.7431 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.5123, allocations: 26.08 kB / 0.7431 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.514, allocations: 1.076 MB / 0.7442 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003197/0.5172, allocations: 2.356 MB / 0.7465 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.5185, allocations: 0.7389 MB / 0.7472 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005882/0.5191, allocations: 311.3 kB / 0.7475 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.392e-05/0.5192, allocations: 28.69 kB / 0.7475 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009043/0.5201, allocations: 472.1 kB / 0.748 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.064e-06/0.5201, allocations: 0 / 0.748 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003286/0.5234, allocations: 1.166 MB / 0.7491 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.5235, allocations: 192.6 kB / 0.7493 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006484/0.5242, allocations: 0.6017 MB / 0.7499 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.815e-05/0.5243, allocations: 41.7 kB / 0.7499 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.5245, allocations: 352.5 kB / 0.7503 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.5247, allocations: 240.5 kB / 0.7505 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.5249, allocations: 134.3 kB / 0.7506 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.525, allocations: 386.8 kB / 0.751 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005723/0.5256, allocations: 237.2 kB / 0.7512 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006519/0.5263, allocations: 367.5 kB / 0.7516 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.5275, allocations: 0.5831 MB / 0.7521 GB, free: 368 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.5275, allocations: 4 kB / 0.7522 GB, free: 364 kB / 0.5606 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001944/0.5294, allocations: 0.7879 MB / 0.7529 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.5295, allocations: 4 kB / 0.7529 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.5295, allocations: 0 / 0.7529 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006021/0.5301, allocations: 88.89 kB / 0.753 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006652/0.5307, allocations: 155.8 kB / 0.7532 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/0.5328, allocations: 1.647 MB / 0.7548 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005991/0.5334, allocations: 83.92 kB / 0.7548 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.298e-05/0.5335, allocations: 27.97 kB / 0.7549 GB, free: 13.41 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003135/0.5338, allocations: 249.9 kB / 0.7551 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.5339, allocations: 75.06 kB / 0.7552 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00269/0.5366, allocations: 1.11 MB / 0.7563 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.5366, allocations: 8 kB / 0.7563 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.5367, allocations: 4 kB / 0.7563 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.5367, allocations: 3.984 kB / 0.7563 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008995/0.5376, allocations: 0.841 MB / 0.7571 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.5376, allocations: 0 / 0.7571 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006452/0.5382, allocations: 163.7 kB / 0.7573 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004328/0.5387, allocations: 72.8 kB / 0.7573 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.295e-05/0.5387, allocations: 23.97 kB / 0.7574 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.5405, allocations: 1.666 MB / 0.759 GB, free: 9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5405, allocations: 3.938 kB / 0.759 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.5424, allocations: 0.9084 MB / 0.7599 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002821/0.5427, allocations: 267.7 kB / 0.7601 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.5428, allocations: 16 kB / 0.7601 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005644/0.5434, allocations: 70.03 kB / 0.7602 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.5435, allocations: 60.91 kB / 0.7603 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.839e-05/0.5436, allocations: 35.97 kB / 0.7603 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004563/0.5441, allocations: 439 kB / 0.7607 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5441, allocations: 3.938 kB / 0.7607 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007174/0.5448, allocations: 287.4 kB / 0.761 GB, free: 6.895 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003378/0.5482, allocations: 1.959 MB / 0.7629 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002262/0.5505, allocations: 0.9812 MB / 0.7639 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5505, allocations: 4 kB / 0.7639 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000917/0.5514, allocations: 0.512 MB / 0.7644 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.5524, allocations: 284.2 kB / 0.7646 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.5639, allocations: 6.533 MB / 0.771 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.5643, allocations: 0.9937 MB / 0.772 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008233/0.5652, allocations: 254.3 kB / 0.7722 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004715/0.5657, allocations: 347.3 kB / 0.7726 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.5657, allocations: 4 kB / 0.7726 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5707/1.136, allocations: 20.26 MB / 0.7924 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/1.137, allocations: 295.6 kB / 0.7926 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.328/3.465, allocations: 3.938 kB / 0.7926 GB, free: 6.805 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)