Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IBPSA_latest_IBPSA_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.001008/0.001008, allocations: 104.2 kB / 16.27 MB, free: 5.93 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.0009777/0.0009778, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.205/1.205, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6955/0.6955, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 55.91 kB / 0.4912 GB, free: 7.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2917, allocations: 77.93 MB / 0.5673 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006695/0.2984, allocations: 7.183 MB / 0.5743 GB, free: 27.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1437/0.4421, allocations: 153.4 MB / 0.7241 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/0.4437, allocations: 27.88 kB / 0.7242 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.4449, allocations: 348.7 kB / 0.7245 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002755/0.4476, allocations: 0.7701 MB / 0.7252 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003152/0.4508, allocations: 1.376 MB / 0.7266 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002819/0.4536, allocations: 2.644 MB / 0.7292 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/0.455, allocations: 1.045 MB / 0.7302 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.456, allocations: 0.8798 MB / 0.7311 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008591/0.4569, allocations: 0.9084 MB / 0.7319 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002739/0.4572, allocations: 215.9 kB / 0.7321 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.4587, allocations: 0.9442 MB / 0.7331 GB, free: 404 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004168/0.4591, allocations: 0.5373 MB / 0.7336 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007801/0.4599, allocations: 1.018 MB / 0.7346 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002617/0.4625, allocations: 2.925 MB / 0.7374 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4625, allocations: 0 / 0.7374 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.502e-06/0.4625, allocations: 4 kB / 0.7374 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.729e-05/0.4626, allocations: 0 / 0.7374 GB, free: 11.89 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 367 * Number of variables: 367 Notification: Performance of Generate backend data structure: time 0.003708/0.4663, allocations: 2.37 MB / 0.7398 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.4663, allocations: 16.56 kB / 0.7398 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002307/0.4665, allocations: 211.4 kB / 0.74 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001797/0.4684, allocations: 385.8 kB / 0.7403 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.4699, allocations: 1.272 MB / 0.7416 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.151e-05/0.47, allocations: 106.9 kB / 0.7417 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/0.4702, allocations: 140 kB / 0.7418 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.4727, allocations: 1.655 MB / 0.7434 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.4727, allocations: 3.984 kB / 0.7434 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/0.4729, allocations: 64 kB / 0.7435 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/0.4729, allocations: 43.88 kB / 0.7435 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003284/0.4762, allocations: 2.154 MB / 0.7457 GB, free: 3.266 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.215/0.6913, allocations: 4.948 MB / 0.7505 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003166/0.6944, allocations: 1.618 MB / 0.7521 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/0.6955, allocations: 0.5923 MB / 0.7526 GB, free: 168 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.6957, allocations: 59.14 kB / 0.7527 GB, free: 168 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00167/0.6973, allocations: 0.9445 MB / 0.7536 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=154): time 2.945e-06/0.6974, allocations: 0 / 0.7536 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=154): time 0.0063/0.7037, allocations: 2.375 MB / 0.7559 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.72e-05/0.7037, allocations: 357.9 kB / 0.7563 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.7051, allocations: 1.152 MB / 0.7574 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.145e-05/0.7052, allocations: 59.92 kB / 0.7575 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000405/0.7056, allocations: 0.664 MB / 0.7581 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000303/0.7059, allocations: 499.7 kB / 0.7586 GB, free: 165 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004221/0.7063, allocations: 284.6 kB / 0.7589 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.35e-05/0.7064, allocations: 356.1 kB / 0.7592 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.7075, allocations: 0.4949 MB / 0.7597 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/0.7086, allocations: 0.7269 MB / 0.7604 GB, free: 164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/0.7108, allocations: 1.187 MB / 0.7616 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.7108, allocations: 1.625 kB / 0.7616 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003668/0.7145, allocations: 1.586 MB / 0.7631 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.7145, allocations: 9.875 kB / 0.7631 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.7145, allocations: 2.875 kB / 0.7631 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/0.7156, allocations: 172.1 kB / 0.7633 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.7168, allocations: 298 kB / 0.7636 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003132/0.7199, allocations: 3.3 MB / 0.7668 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.7211, allocations: 178.9 kB / 0.767 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.7212, allocations: 62.89 kB / 0.767 GB, free: 159.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 30 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 167 * 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.0005172/0.7217, allocations: 408.9 kB / 0.7674 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002703/0.722, allocations: 163.8 kB / 0.7676 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004525/0.7265, allocations: 2.175 MB / 0.7697 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.7266, allocations: 22.06 kB / 0.7697 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.7266, allocations: 1.406 kB / 0.7697 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.7266, allocations: 12.83 kB / 0.7697 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.7281, allocations: 1.62 MB / 0.7713 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.7281, allocations: 1.562 kB / 0.7713 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.7292, allocations: 291.8 kB / 0.7716 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007864/0.73, allocations: 145.3 kB / 0.7717 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-05/0.7301, allocations: 48.41 kB / 0.7718 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002777/0.7329, allocations: 3.349 MB / 0.775 GB, free: 154 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7329, allocations: 1.156 kB / 0.775 GB, free: 154 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003447/0.7363, allocations: 1.815 MB / 0.7768 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004905/0.7368, allocations: 473.9 kB / 0.7773 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.7371, allocations: 37.97 kB / 0.7773 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.7382, allocations: 136.3 kB / 0.7774 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/0.7384, allocations: 147.5 kB / 0.7776 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/0.7385, allocations: 69.33 kB / 0.7776 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008768/0.7394, allocations: 0.8071 MB / 0.7784 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.41e-07/0.7394, allocations: 0 / 0.7784 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001094/0.7405, allocations: 0.5147 MB / 0.7789 GB, free: 151.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 10 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.004539/0.7451, allocations: 2.942 MB / 0.7818 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003757/0.7488, allocations: 1.989 MB / 0.7837 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.7489, allocations: 3.938 kB / 0.7837 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001494/0.7504, allocations: 1.047 MB / 0.7848 GB, free: 148 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/0.7522, allocations: 0.5778 MB / 0.7853 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01458/0.7668, allocations: 12.07 MB / 0.7971 GB, free: 135 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005499/0.7674, allocations: 1.337 MB / 0.7984 GB, free: 133.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001406/0.7688, allocations: 0.5115 MB / 0.7989 GB, free: 133.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007296/0.7695, allocations: 0.7413 MB / 0.7997 GB, free: 132.4 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.7695, allocations: 0 / 0.7997 GB, free: 132.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05819/0.8277, allocations: 39.36 MB / 0.8381 GB, free: 93.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.96, allocations: 14.25 kB / 0.8381 GB, free: 93.49 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)