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.001112/0.001112, allocations: 106.2 kB / 16.52 MB, free: 6.664 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.001068/0.001068, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.299/1.299, allocations: 222.9 MB / 241.1 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6926/0.6926, allocations: 115.3 MB / 406.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 71.89 kB / 493.5 MB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3318, allocations: 76.17 MB / 0.5564 GB, free: 36.08 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1631/0.495, allocations: 159.6 MB / 0.7122 GB, free: 4.598 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03403/0.529, allocations: 26.77 MB / 0.7384 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0037/0.5328, allocations: 67.62 kB / 0.7384 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002797/0.5356, allocations: 0.9178 MB / 0.7393 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005373/0.541, allocations: 1.623 MB / 0.7409 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004385/0.5454, allocations: 1.528 MB / 0.7424 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006904/0.5523, allocations: 5.469 MB / 0.7477 GB, free: 128 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3798/0.9322, allocations: 3.72 MB / 0.7514 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004072/0.9363, allocations: 1.739 MB / 0.7531 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004807/0.9412, allocations: 2.333 MB / 0.7553 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001542/0.9427, allocations: 240.6 kB / 0.7556 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00331/0.9461, allocations: 0.8365 MB / 0.7564 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002133/0.9482, allocations: 0.943 MB / 0.7573 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00472/0.953, allocations: 1.887 MB / 0.7592 GB, free: 3 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00659/0.9596, allocations: 4.595 MB / 0.7636 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.9596, allocations: 2.906 kB / 0.7636 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9596, allocations: 0 / 0.7636 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002509/0.9599, allocations: 0 / 0.7636 GB, free: 2.762 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.01552/0.9754, allocations: 4.625 MB / 0.7682 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.9755, allocations: 13.53 kB / 0.7682 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0146/0.9901, allocations: 2.763 MB / 0.7709 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005959/0.9961, allocations: 2.303 MB / 0.7731 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002833/0.9964, allocations: 238.7 kB / 0.7734 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001341/0.9977, allocations: 314.5 kB / 0.7737 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01327/1.011, allocations: 5.164 MB / 0.7787 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.771e-05/1.011, allocations: 0 / 0.7787 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004973/1.012, allocations: 134.2 kB / 0.7788 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.781e-05/1.012, allocations: 76.84 kB / 0.7789 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01518/1.027, allocations: 6.286 MB / 0.785 GB, free: 15.63 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.03111/1.058, allocations: 14.9 MB / 0.7996 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01087/1.069, allocations: 4.714 MB / 0.8042 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005505/1.074, allocations: 2.435 MB / 0.8066 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009941/1.076, allocations: 0.6694 MB / 0.8072 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006201/1.082, allocations: 2.625 MB / 0.8098 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=278): time 5.962e-06/1.082, allocations: 0 / 0.8098 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of matching and sorting (n=278): time 0.01883/1.101, allocations: 7.398 MB / 0.817 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/1.101, allocations: 216 kB / 0.8172 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004056/1.105, allocations: 2.431 MB / 0.8196 GB, free: 316 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0009071/1.106, allocations: 77.02 kB / 0.8197 GB, free: 272 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001417/1.107, allocations: 1.332 MB / 0.821 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001798/1.109, allocations: 0.9072 MB / 0.8218 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001804/1.111, allocations: 0.5031 MB / 0.8223 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.905e-05/1.111, allocations: 305.1 kB / 0.8226 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004889/1.116, allocations: 2.028 MB / 0.8246 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005707/1.122, allocations: 2.344 MB / 0.8269 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/1.133, allocations: 4.277 MB / 0.8311 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.668e-05/1.133, allocations: 4 kB / 0.8311 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01419/1.147, allocations: 4.998 MB / 0.836 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/1.147, allocations: 7.75 kB / 0.836 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/1.147, allocations: 4 kB / 0.836 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006814/1.148, allocations: 234.1 kB / 0.8362 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004742/1.152, allocations: 0.8119 MB / 0.837 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004418/1.157, allocations: 3.104 MB / 0.84 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005463/1.162, allocations: 0.5791 MB / 0.8406 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001146/1.163, allocations: 118.9 kB / 0.8407 GB, free: 12.01 MB / 0.6231 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.004017/1.167, allocations: 0.9479 MB / 0.8416 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001538/1.169, allocations: 272.6 kB / 0.8419 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01629/1.185, allocations: 5.633 MB / 0.8474 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.829e-05/1.185, allocations: 28 kB / 0.8474 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/1.185, allocations: 0 / 0.8474 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-05/1.185, allocations: 15.95 kB / 0.8474 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007533/1.193, allocations: 3.694 MB / 0.851 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.202e-05/1.193, allocations: 0 / 0.851 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004284/1.197, allocations: 0.7359 MB / 0.8518 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009546/1.198, allocations: 272.2 kB / 0.852 GB, free: 428 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006619/1.199, allocations: 79.92 kB / 0.8521 GB, free: 348 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005205/1.204, allocations: 4.805 MB / 0.8568 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.204, allocations: 0 / 0.8568 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02094/1.225, allocations: 8.024 MB / 0.8646 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002651/1.228, allocations: 0.8326 MB / 0.8654 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001395/1.229, allocations: 63.94 kB / 0.8655 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004351/1.234, allocations: 446.3 kB / 0.8659 GB, free: 1.812 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008359/1.235, allocations: 198 kB / 0.8661 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006336/1.235, allocations: 111.9 kB / 0.8662 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00359/1.239, allocations: 1.777 MB / 0.8679 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.51e-07/1.239, allocations: 0 / 0.8679 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.005071/1.244, allocations: 1.075 MB / 0.869 GB, free: 14.64 MB / 0.6544 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.003297/1.247, allocations: 1.037 MB / 0.87 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01333/1.261, allocations: 4.894 MB / 0.8748 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.261, allocations: 3.938 kB / 0.8748 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.007476/1.268, allocations: 2.766 MB / 0.8775 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00549/1.274, allocations: 0.6533 MB / 0.8781 GB, free: 5.75 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.02005/1.294, allocations: 9.403 MB / 0.8873 GB, free: 12.31 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00318/1.297, allocations: 2.377 MB / 0.8896 GB, free: 9.906 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002679/1.3, allocations: 319.2 kB / 0.8899 GB, free: 9.594 MB / 0.67 GB Notification: Performance of SimCode: time 9.52e-07/1.3, allocations: 3.469 kB / 0.8899 GB, free: 9.594 MB / 0.67 GB Notification: Performance of Templates: time 0.1072/1.407, allocations: 84.64 MB / 0.9726 GB, free: 5.211 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)