Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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: translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 90.42 kB / 16.67 MB, free: 6.594 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.001148/0.001148, allocations: 182.4 kB / 17.58 MB, free: 6.188 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.372/1.372, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7338/0.7338, allocations: 115.5 MB / 408.2 MB, free: 7.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003635, allocations: 12 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3837, allocations: 77.53 MB / 0.5606 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1689/0.5526, allocations: 157.4 MB / 0.7142 GB, free: 5.535 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03762/0.5902, allocations: 26.48 MB / 0.7401 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003975/0.5942, allocations: 63.62 kB / 0.7402 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003/0.5973, allocations: 0.9217 MB / 0.7411 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005784/0.6031, allocations: 1.613 MB / 0.7426 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004528/0.6076, allocations: 1.526 MB / 0.7441 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007957/0.6156, allocations: 5.457 MB / 0.7495 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3472/0.9628, allocations: 3.404 MB / 0.7528 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003759/0.9666, allocations: 1.438 MB / 0.7542 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004619/0.9713, allocations: 1.973 MB / 0.7561 GB, free: 4 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001322/0.9726, allocations: 108.1 kB / 0.7562 GB, free: 4 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003387/0.976, allocations: 0.7006 MB / 0.7569 GB, free: 4 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00182/0.9779, allocations: 0.7424 MB / 0.7576 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004357/0.9823, allocations: 1.657 MB / 0.7592 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00745/0.9897, allocations: 4.481 MB / 0.7636 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.9898, allocations: 0 / 0.7636 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.567e-06/0.9898, allocations: 1 kB / 0.7636 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002689/0.9901, allocations: 0 / 0.7636 GB, free: 3.738 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: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.01269/1.003, allocations: 3.954 MB / 0.7675 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/1.003, allocations: 12.94 kB / 0.7675 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01517/1.018, allocations: 2.891 MB / 0.7703 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006792/1.025, allocations: 2.297 MB / 0.7726 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003721/1.025, allocations: 238.1 kB / 0.7728 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001629/1.027, allocations: 315 kB / 0.7731 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01668/1.044, allocations: 5.216 MB / 0.7782 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001341/1.044, allocations: 0 / 0.7782 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001175/1.045, allocations: 130.8 kB / 0.7783 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.363e-05/1.045, allocations: 75.25 kB / 0.7784 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01563/1.061, allocations: 6.384 MB / 0.7846 GB, free: 0.625 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.03133/1.092, allocations: 14.93 MB / 0.7992 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0118/1.104, allocations: 4.712 MB / 0.8038 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006105/1.11, allocations: 2.448 MB / 0.8062 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001136/1.111, allocations: 0.672 MB / 0.8068 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006786/1.118, allocations: 2.628 MB / 0.8094 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=278): time 6.643e-06/1.118, allocations: 0.5625 kB / 0.8094 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of matching and sorting (n=278): time 0.02004/1.138, allocations: 7.424 MB / 0.8167 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/1.138, allocations: 216.6 kB / 0.8169 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00524/1.143, allocations: 2.434 MB / 0.8192 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008547/1.144, allocations: 78.67 kB / 0.8193 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001391/1.146, allocations: 1.337 MB / 0.8206 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0016/1.147, allocations: 0.9014 MB / 0.8215 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009053/1.148, allocations: 205.5 kB / 0.8217 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001096/1.148, allocations: 301.1 kB / 0.822 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0056/1.154, allocations: 2.043 MB / 0.824 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005866/1.16, allocations: 2.352 MB / 0.8263 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/1.171, allocations: 4.285 MB / 0.8305 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.766e-05/1.171, allocations: 4 kB / 0.8305 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01393/1.185, allocations: 5.013 MB / 0.8354 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/1.185, allocations: 4 kB / 0.8354 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/1.185, allocations: 4 kB / 0.8354 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006793/1.186, allocations: 237.3 kB / 0.8356 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004405/1.19, allocations: 0.8097 MB / 0.8364 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004183/1.194, allocations: 3.103 MB / 0.8394 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0047/1.199, allocations: 0.5931 MB / 0.84 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006928/1.2, allocations: 118.7 kB / 0.8401 GB, free: 2.738 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[1].incAng.decAng.tNext,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,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (300): * Single equations (assignments): 299 * 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,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003193/1.203, allocations: 0.9557 MB / 0.841 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/1.204, allocations: 272.5 kB / 0.8413 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01583/1.22, allocations: 5.638 MB / 0.8468 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.312e-05/1.22, allocations: 28 kB / 0.8468 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.968e-05/1.22, allocations: 4 kB / 0.8468 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.174e-05/1.22, allocations: 11.95 kB / 0.8469 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007785/1.228, allocations: 3.697 MB / 0.8505 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.857e-05/1.228, allocations: 4 kB / 0.8505 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004134/1.232, allocations: 0.7407 MB / 0.8512 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009286/1.233, allocations: 267.5 kB / 0.8514 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005285/1.234, allocations: 83.92 kB / 0.8515 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004992/1.239, allocations: 4.805 MB / 0.8562 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.239, allocations: 0 / 0.8562 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02006/1.259, allocations: 8.05 MB / 0.8641 GB, free: 9.84 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002614/1.261, allocations: 0.8714 MB / 0.8649 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001241/1.263, allocations: 59.98 kB / 0.865 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004128/1.267, allocations: 466.5 kB / 0.8654 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006585/1.268, allocations: 204.9 kB / 0.8656 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004783/1.268, allocations: 104.2 kB / 0.8657 GB, free: 8.133 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003538/1.272, allocations: 1.777 MB / 0.8675 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.91e-07/1.272, allocations: 0 / 0.8675 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004612/1.276, allocations: 1.068 MB / 0.8685 GB, free: 5.273 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.thermCapExt[1].T) * Number of discrete variables: 21 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 11 (intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,16,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003148/1.279, allocations: 1.053 MB / 0.8695 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01291/1.292, allocations: 4.906 MB / 0.8743 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/1.292, allocations: 0 / 0.8743 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.007008/1.299, allocations: 2.781 MB / 0.877 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005084/1.305, allocations: 0.65 MB / 0.8777 GB, free: 12.36 MB / 0.6544 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01954/1.324, allocations: 9.5 MB / 0.887 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00296/1.327, allocations: 2.381 MB / 0.8893 GB, free: 420 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002396/1.33, allocations: 322.1 kB / 0.8896 GB, free: 100 kB / 0.6544 GB Notification: Performance of SimCode: time 7.52e-07/1.33, allocations: 4 kB / 0.8896 GB, free: 96 kB / 0.6544 GB Notification: Performance of Templates: time 0.119/1.449, allocations: 84.13 MB / 0.9717 GB, free: 12.21 MB / 0.7481 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)