Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.001452/0.001452, allocations: 108.1 kB / 16.41 MB, free: 6.496 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.001565/0.001565, allocations: 193.2 kB / 17.34 MB, free: 5.723 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7632/0.7632, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 65.67 kB / 0.5572 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1342, allocations: 76.18 MB / 0.6316 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.5366/0.6709, allocations: 156.7 MB / 0.7846 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02677/0.6977, allocations: 21.75 MB / 0.8058 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003314/0.701, allocations: 54.97 kB / 0.8059 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.7029, allocations: 1.156 MB / 0.807 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002025/0.705, allocations: 0.8532 MB / 0.8079 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.7064, allocations: 442.5 kB / 0.8083 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001698/0.7081, allocations: 1.264 MB / 0.8095 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.7092, allocations: 0.6958 MB / 0.8102 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009871/0.7102, allocations: 0.551 MB / 0.8107 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.7115, allocations: 0.9153 MB / 0.8116 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.7117, allocations: 69.41 kB / 0.8117 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003768/0.7121, allocations: 111 kB / 0.8118 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000302/0.7124, allocations: 318.6 kB / 0.8121 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005994/0.713, allocations: 489.8 kB / 0.8126 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.7143, allocations: 1.198 MB / 0.8137 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.7143, allocations: 2.094 kB / 0.8137 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7143, allocations: 0 / 0.8137 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.169e-05/0.7144, allocations: 0 / 0.8137 GB, free: 8.398 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002801/0.7172, allocations: 1.484 MB / 0.8152 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.7172, allocations: 7.375 kB / 0.8152 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.506e-05/0.7173, allocations: 81.88 kB / 0.8153 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002162/0.7176, allocations: 138.5 kB / 0.8154 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008717/0.7185, allocations: 0.663 MB / 0.8161 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.7186, allocations: 74.28 kB / 0.8161 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.542e-05/0.7187, allocations: 49.94 kB / 0.8162 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008957/0.7196, allocations: 0.5152 MB / 0.8167 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.7196, allocations: 0 / 0.8167 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.591e-05/0.7196, allocations: 21.05 kB / 0.8167 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.7197, allocations: 13.81 kB / 0.8167 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007532/0.7204, allocations: 422.6 kB / 0.8171 GB, free: 5.945 MB / 0.5919 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.003441/0.7239, allocations: 2.788 MB / 0.8198 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009469/0.7248, allocations: 466.4 kB / 0.8203 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005166/0.7254, allocations: 284 kB / 0.8206 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.7254, allocations: 9.578 kB / 0.8206 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005283/0.7259, allocations: 301.6 kB / 0.8209 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=45): time 2.414e-06/0.726, allocations: 0 / 0.8209 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002928/0.7289, allocations: 1.243 MB / 0.8221 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.729, allocations: 60.28 kB / 0.8221 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/0.7308, allocations: 1.749 MB / 0.8238 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.336e-05/0.7309, allocations: 38.02 kB / 0.8239 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004012/0.7313, allocations: 0.5116 MB / 0.8244 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.7314, allocations: 146.8 kB / 0.8245 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.7316, allocations: 106.9 kB / 0.8246 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.7317, allocations: 323 kB / 0.8249 GB, free: 368 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004298/0.7321, allocations: 225.8 kB / 0.8251 GB, free: 256 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004952/0.7326, allocations: 323.6 kB / 0.8254 GB, free: 24 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008987/0.7335, allocations: 0.5128 MB / 0.8259 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.7336, allocations: 2.75 kB / 0.8259 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001525/0.7351, allocations: 0.8416 MB / 0.8268 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.7351, allocations: 14.17 kB / 0.8268 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.7351, allocations: 2.531 kB / 0.8268 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004788/0.7356, allocations: 186.1 kB / 0.827 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.736, allocations: 96.3 kB / 0.8271 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003348/0.7393, allocations: 2.991 MB / 0.83 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/0.7398, allocations: 79.41 kB / 0.83 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.7399, allocations: 19.12 kB / 0.8301 GB, free: 12.64 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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): 1 system {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004991/0.7404, allocations: 380.2 kB / 0.8304 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.7405, allocations: 123.8 kB / 0.8305 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.7407, allocations: 139.7 kB / 0.8307 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.7407, allocations: 4.719 kB / 0.8307 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/0.7407, allocations: 9.406 kB / 0.8307 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.7407, allocations: 0 / 0.8307 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/0.743, allocations: 1.567 MB / 0.8322 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.743, allocations: 0 / 0.8322 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.7433, allocations: 51.03 kB / 0.8323 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004387/0.7437, allocations: 194.1 kB / 0.8325 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.7437, allocations: 6.531 kB / 0.8325 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004241/0.748, allocations: 4.557 MB / 0.8369 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.748, allocations: 0 / 0.8369 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.7499, allocations: 1.066 MB / 0.838 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003073/0.7502, allocations: 216.2 kB / 0.8382 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-05/0.7503, allocations: 17.02 kB / 0.8382 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.7506, allocations: 30.44 kB / 0.8382 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.7508, allocations: 54.52 kB / 0.8383 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.82e-05/0.7508, allocations: 14.5 kB / 0.8383 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001303/0.7521, allocations: 1.283 MB / 0.8395 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7521, allocations: 0 / 0.8395 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008023/0.7529, allocations: 199.7 kB / 0.8397 GB, free: 5.332 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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): 2 systems {(2,13,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00315/0.7561, allocations: 1.982 MB / 0.8416 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001547/0.7576, allocations: 0.7194 MB / 0.8424 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7577, allocations: 0 / 0.8424 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009248/0.7586, allocations: 0.5595 MB / 0.8429 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.7596, allocations: 203.5 kB / 0.8431 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/0.7728, allocations: 8.559 MB / 0.8515 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/0.7738, allocations: 1.153 MB / 0.8526 GB, free: 8.051 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003201/0.7742, allocations: 96.7 kB / 0.8527 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004892/0.7747, allocations: 403.3 kB / 0.8531 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of SimCode: time 9.22e-07/0.7747, allocations: 0 / 0.8531 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05086/0.8256, allocations: 21.58 MB / 0.8741 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.46, allocations: 7.984 kB / 0.8741 GB, free: 2.273 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)