Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.Examples.ReaderTMY3,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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.0009621/0.0009662, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.007368/0.007368, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.281/1.281, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8278/0.8278, allocations: 135.3 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002848/0.000285, allocations: 8.656 kB / 0.5077 GB, free: 4.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1355, allocations: 82.31 MB / 0.5881 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006156/0.1417, allocations: 5.711 MB / 0.5936 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3479/0.4896, allocations: 149.2 MB / 0.7394 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009637/0.4906, allocations: 32.56 kB / 0.7394 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007319/0.4914, allocations: 250.6 kB / 0.7397 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.4932, allocations: 0.5488 MB / 0.7402 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002635/0.4958, allocations: 1.158 MB / 0.7413 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002295/0.4981, allocations: 2.158 MB / 0.7434 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.4993, allocations: 1.016 MB / 0.7444 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000786/0.5001, allocations: 0.5592 MB / 0.745 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006088/0.5008, allocations: 0.6179 MB / 0.7456 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.5009, allocations: 41.25 kB / 0.7456 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.5021, allocations: 0.7784 MB / 0.7464 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002684/0.5024, allocations: 321.2 kB / 0.7467 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005319/0.5029, allocations: 0.7384 MB / 0.7474 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.5047, allocations: 2.473 MB / 0.7498 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.5047, allocations: 0 / 0.7498 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5047, allocations: 0 / 0.7498 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.407e-05/0.5047, allocations: 0 / 0.7498 GB, free: 4.926 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.002559/0.5073, allocations: 1.793 MB / 0.7516 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.5073, allocations: 15.44 kB / 0.7516 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002003/0.5075, allocations: 201.4 kB / 0.7518 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.5092, allocations: 378.5 kB / 0.7521 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.5106, allocations: 1.205 MB / 0.7533 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.671e-05/0.5107, allocations: 103.5 kB / 0.7534 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.5108, allocations: 129.4 kB / 0.7535 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/0.5131, allocations: 1.528 MB / 0.755 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.5131, allocations: 0 / 0.755 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.5132, allocations: 60 kB / 0.7551 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.5133, allocations: 36 kB / 0.7551 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002983/0.5162, allocations: 2.063 MB / 0.7571 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005839/0.5221, allocations: 4.502 MB / 0.7615 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002494/0.5246, allocations: 1.44 MB / 0.7629 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009629/0.5256, allocations: 0.5476 MB / 0.7635 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.978e-05/0.5257, allocations: 57.19 kB / 0.7635 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001296/0.527, allocations: 0.8015 MB / 0.7643 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=136): time 2.304e-06/0.527, allocations: 0 / 0.7643 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.005181/0.5322, allocations: 2.146 MB / 0.7664 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.5323, allocations: 347.3 kB / 0.7667 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.5335, allocations: 1.076 MB / 0.7678 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.778e-05/0.5336, allocations: 49.7 kB / 0.7678 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004152/0.534, allocations: 0.6186 MB / 0.7684 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/0.5343, allocations: 453.4 kB / 0.7689 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.5344, allocations: 97.67 kB / 0.769 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5346, allocations: 353.9 kB / 0.7693 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008816/0.5354, allocations: 446.3 kB / 0.7697 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.5365, allocations: 0.6512 MB / 0.7704 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00191/0.5384, allocations: 1.091 MB / 0.7714 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5384, allocations: 0 / 0.7714 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003145/0.5416, allocations: 1.436 MB / 0.7728 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.5416, allocations: 10.03 kB / 0.7728 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5416, allocations: 3.938 kB / 0.7728 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.5426, allocations: 169.8 kB / 0.773 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.5437, allocations: 275.6 kB / 0.7733 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003365/0.547, allocations: 3.064 MB / 0.7763 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009653/0.548, allocations: 167.8 kB / 0.7764 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.855e-05/0.5481, allocations: 63.31 kB / 0.7765 GB, free: 10.23 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 12 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition3,$whenCondition4,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 (145): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005005/0.5486, allocations: 377.5 kB / 0.7768 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.5488, allocations: 142.2 kB / 0.777 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004331/0.5532, allocations: 2 MB / 0.7789 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.5532, allocations: 16 kB / 0.7789 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.5532, allocations: 0 / 0.7789 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.5532, allocations: 11.91 kB / 0.7789 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.5547, allocations: 1.468 MB / 0.7804 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5547, allocations: 0 / 0.7804 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/0.5557, allocations: 287.6 kB / 0.7807 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000934/0.5566, allocations: 165.5 kB / 0.7808 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.666e-05/0.5567, allocations: 47.97 kB / 0.7809 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003149/0.5599, allocations: 3.119 MB / 0.7839 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5599, allocations: 0 / 0.7839 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00318/0.5631, allocations: 1.635 MB / 0.7855 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005079/0.5636, allocations: 470.4 kB / 0.7859 GB, free: 132 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.5638, allocations: 35.94 kB / 0.786 GB, free: 96 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009896/0.5648, allocations: 139.8 kB / 0.7861 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/0.565, allocations: 117.8 kB / 0.7862 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.636e-05/0.5651, allocations: 59.97 kB / 0.7863 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008487/0.5659, allocations: 0.7457 MB / 0.787 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.192e-06/0.5659, allocations: 4 kB / 0.787 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009267/0.5669, allocations: 470.8 kB / 0.7875 GB, free: 14.57 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004535/0.5714, allocations: 2.722 MB / 0.7901 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002537/0.5739, allocations: 1.459 MB / 0.7916 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.574, allocations: 4 kB / 0.7916 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001536/0.5755, allocations: 0.9653 MB / 0.7925 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.5774, allocations: 0.5073 MB / 0.793 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02002/0.5975, allocations: 11.91 MB / 0.8046 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007216/0.5982, allocations: 1.281 MB / 0.8059 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001304/0.5995, allocations: 0.4997 MB / 0.8064 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007961/0.6003, allocations: 0.6515 MB / 0.807 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of SimCode: time 3.2e-07/0.6003, allocations: 0 / 0.807 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.853/2.453, allocations: 34.33 MB / 0.8405 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/2.454, allocations: 279 kB / 0.8408 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.768/5.222, allocations: 64 / 0.8408 GB, free: 8.004 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)