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.001132/0.001132, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001127/0.001127, allocations: 192.5 kB / 16.14 MB, free: 6.703 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.195/1.195, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.832/0.832, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 64.31 kB / 0.5048 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1252, allocations: 80.93 MB / 0.5838 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006702/0.132, allocations: 6.174 MB / 0.5898 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3365/0.4685, allocations: 150.9 MB / 0.7372 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009654/0.4695, allocations: 33.72 kB / 0.7372 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008406/0.4704, allocations: 249.5 kB / 0.7374 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.4721, allocations: 0.5493 MB / 0.738 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002434/0.4746, allocations: 1.153 MB / 0.7391 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001998/0.4766, allocations: 2.159 MB / 0.7412 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.4778, allocations: 1.04 MB / 0.7422 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008664/0.4787, allocations: 0.6657 MB / 0.7429 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009248/0.4796, allocations: 0.7411 MB / 0.7436 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002701/0.4799, allocations: 84.09 kB / 0.7437 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.4813, allocations: 0.8123 MB / 0.7445 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003576/0.4816, allocations: 401.7 kB / 0.7449 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006421/0.4823, allocations: 0.7951 MB / 0.7456 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.4843, allocations: 2.559 MB / 0.7481 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.4843, allocations: 0 / 0.7481 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.71e-07/0.4843, allocations: 0 / 0.7481 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.494e-05/0.4843, allocations: 0 / 0.7481 GB, free: 4.004 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.003011/0.4873, allocations: 2.161 MB / 0.7503 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.4873, allocations: 11.34 kB / 0.7503 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001995/0.4875, allocations: 200.7 kB / 0.7505 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/0.4893, allocations: 363.5 kB / 0.7508 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.4907, allocations: 1.203 MB / 0.752 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.552e-05/0.4908, allocations: 102.7 kB / 0.7521 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.4909, allocations: 128.6 kB / 0.7522 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002322/0.4933, allocations: 1.52 MB / 0.7537 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.4933, allocations: 0 / 0.7537 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.4934, allocations: 59.98 kB / 0.7537 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/0.4934, allocations: 36 kB / 0.7538 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002957/0.4964, allocations: 2.043 MB / 0.7558 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005768/0.5022, allocations: 4.442 MB / 0.7601 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00249/0.5047, allocations: 1.417 MB / 0.7615 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009304/0.5056, allocations: 0.5379 MB / 0.762 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.5057, allocations: 65.17 kB / 0.7621 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001386/0.5071, allocations: 0.7857 MB / 0.7628 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=136): time 2.384e-06/0.5072, allocations: 0 / 0.7628 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.005271/0.5124, allocations: 2.111 MB / 0.7649 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.5126, allocations: 355.2 kB / 0.7652 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.5137, allocations: 1.075 MB / 0.7663 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.709e-05/0.5138, allocations: 49.7 kB / 0.7663 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004274/0.5143, allocations: 0.6186 MB / 0.7669 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003532/0.5146, allocations: 453.4 kB / 0.7674 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003549/0.515, allocations: 246.8 kB / 0.7676 GB, free: 452 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5151, allocations: 357.9 kB / 0.768 GB, free: 88 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000893/0.516, allocations: 434.3 kB / 0.7684 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.5171, allocations: 0.6482 MB / 0.769 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001946/0.5191, allocations: 1.075 MB / 0.7701 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.5191, allocations: 0.75 kB / 0.7701 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003298/0.5224, allocations: 1.42 MB / 0.7714 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.5224, allocations: 4 kB / 0.7714 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.5224, allocations: 4 kB / 0.7714 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.5235, allocations: 165.8 kB / 0.7716 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.5246, allocations: 271.6 kB / 0.7719 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003668/0.5282, allocations: 3.064 MB / 0.7749 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009767/0.5292, allocations: 159 kB / 0.775 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.5293, allocations: 51.97 kB / 0.7751 GB, free: 8.426 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.0005235/0.5299, allocations: 385.5 kB / 0.7754 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002567/0.5301, allocations: 146.2 kB / 0.7756 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004558/0.5347, allocations: 1.976 MB / 0.7775 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.5347, allocations: 16 kB / 0.7775 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.5347, allocations: 0 / 0.7775 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.5347, allocations: 11.97 kB / 0.7775 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.5363, allocations: 1.472 MB / 0.779 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.5364, allocations: 4 kB / 0.779 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.5374, allocations: 279.6 kB / 0.7792 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009738/0.5384, allocations: 161.5 kB / 0.7794 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-05/0.5385, allocations: 43.97 kB / 0.7794 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003541/0.542, allocations: 3.119 MB / 0.7825 GB, free: 492 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5421, allocations: 0 / 0.7825 GB, free: 492 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0035/0.5456, allocations: 1.619 MB / 0.7841 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00055/0.5461, allocations: 430.7 kB / 0.7845 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/0.5463, allocations: 35.94 kB / 0.7845 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009785/0.5473, allocations: 119.3 kB / 0.7846 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/0.5475, allocations: 121.8 kB / 0.7847 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.5476, allocations: 55.97 kB / 0.7848 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008989/0.5486, allocations: 0.7535 MB / 0.7855 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5486, allocations: 0 / 0.7855 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001012/0.5496, allocations: 462.9 kB / 0.786 GB, free: 12.86 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.004799/0.5544, allocations: 2.715 MB / 0.7886 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002673/0.5571, allocations: 1.443 MB / 0.79 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5571, allocations: 0 / 0.79 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001608/0.5587, allocations: 0.9498 MB / 0.7909 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.5604, allocations: 0.4998 MB / 0.7914 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02078/0.5812, allocations: 11.77 MB / 0.8029 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007996/0.5821, allocations: 1.278 MB / 0.8042 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001449/0.5835, allocations: 0.4997 MB / 0.8047 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008555/0.5844, allocations: 0.6554 MB / 0.8053 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of SimCode: time 2.7e-07/0.5844, allocations: 0 / 0.8053 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.878/3.462, allocations: 34.71 MB / 0.8392 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/3.462, allocations: 283.3 kB / 0.8395 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.775/6.237, allocations: 0 / 0.8395 GB, free: 6.113 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)