Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 98.19 kB / 16.67 MB, free: 6.344 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.001401/0.001401, allocations: 179.6 kB / 17.57 MB, free: 5.965 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.382/1.382, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7171/0.7171, allocations: 115.5 MB / 408.2 MB, free: 7.051 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003429, allocations: 8 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3393, allocations: 77.51 MB / 0.5606 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1645/0.5038, allocations: 158 MB / 0.7149 GB, free: 4.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03397/0.5378, allocations: 26.65 MB / 0.7409 GB, free: 10.18 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003093/0.5409, allocations: 67.62 kB / 0.7409 GB, free: 10.12 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.002492/0.5434, allocations: 0.9449 MB / 0.7419 GB, free: 9.168 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.005303/0.5487, allocations: 1.682 MB / 0.7435 GB, free: 7.484 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.004524/0.5533, allocations: 1.573 MB / 0.745 GB, free: 5.926 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.007841/0.5611, allocations: 5.753 MB / 0.7507 GB, free: 156 kB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3354/0.8965, allocations: 3.511 MB / 0.7541 GB, free: 3.539 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003652/0.9002, allocations: 1.504 MB / 0.7556 GB, free: 3.535 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004589/0.9048, allocations: 2.052 MB / 0.7576 GB, free: 3.531 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0008019/0.9057, allocations: 122.7 kB / 0.7577 GB, free: 3.527 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002464/0.9081, allocations: 0.7146 MB / 0.7584 GB, free: 3.527 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0009338/0.9091, allocations: 0.7786 MB / 0.7591 GB, free: 3.527 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.002502/0.9116, allocations: 1.74 MB / 0.7608 GB, free: 3.469 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.005359/0.917, allocations: 4.712 MB / 0.7654 GB, free: 3.215 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.917, allocations: 0.8125 kB / 0.7654 GB, free: 3.215 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.736e-06/0.917, allocations: 0 / 0.7654 GB, free: 3.215 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001578/0.9172, allocations: 0 / 0.7654 GB, free: 3.215 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 852 * Number of variables: 852 Notification: Performance of Generate backend data structure: time 0.01029/0.9275, allocations: 4.112 MB / 0.7695 GB, free: 1.352 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.9275, allocations: 13.06 kB / 0.7695 GB, free: 1.348 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01508/0.9426, allocations: 2.912 MB / 0.7723 GB, free: 1.074 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005361/0.948, allocations: 2.386 MB / 0.7746 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000232/0.9483, allocations: 247.6 kB / 0.7749 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007951/0.9491, allocations: 324.9 kB / 0.7752 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01118/0.9602, allocations: 5.379 MB / 0.7804 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.07e-05/0.9603, allocations: 6.688 kB / 0.7804 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000383/0.9607, allocations: 135.7 kB / 0.7806 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.077e-05/0.9608, allocations: 85.28 kB / 0.7807 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01393/0.9747, allocations: 6.56 MB / 0.7871 GB, free: 15.64 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.02647/1.001, allocations: 15.83 MB / 0.8025 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/1.012, allocations: 4.871 MB / 0.8073 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005155/1.017, allocations: 2.591 MB / 0.8098 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009683/1.018, allocations: 0.6716 MB / 0.8105 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005746/1.024, allocations: 2.72 MB / 0.8131 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=291): time 4.819e-06/1.024, allocations: 0 / 0.8131 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of matching and sorting (n=291): time 0.01925/1.043, allocations: 8.048 MB / 0.821 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/1.043, allocations: 214.2 kB / 0.8212 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004157/1.047, allocations: 2.522 MB / 0.8237 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003354/1.048, allocations: 87.72 kB / 0.8237 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001226/1.049, allocations: 1.394 MB / 0.8251 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00103/1.05, allocations: 0.9494 MB / 0.826 GB, free: 14 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004222/1.051, allocations: 217.2 kB / 0.8262 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.919e-05/1.051, allocations: 301.1 kB / 0.8265 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00495/1.056, allocations: 2.106 MB / 0.8286 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005305/1.061, allocations: 2.433 MB / 0.831 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/1.071, allocations: 4.457 MB / 0.8353 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/1.071, allocations: 4 kB / 0.8353 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.0125/1.084, allocations: 5.265 MB / 0.8404 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/1.084, allocations: 4 kB / 0.8405 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/1.084, allocations: 4.156 kB / 0.8405 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008829/1.085, allocations: 351.5 kB / 0.8408 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004266/1.089, allocations: 0.8244 MB / 0.8416 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005549/1.094, allocations: 3.886 MB / 0.8454 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00506/1.099, allocations: 0.61 MB / 0.846 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007721/1.1, allocations: 119.9 kB / 0.8461 GB, free: 12.15 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 (306): * Single equations (assignments): 305 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003326/1.104, allocations: 0.9893 MB / 0.8471 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001198/1.105, allocations: 288.4 kB / 0.8473 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0168/1.122, allocations: 5.929 MB / 0.8531 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.228e-05/1.122, allocations: 28 kB / 0.8532 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.663e-05/1.122, allocations: 4 kB / 0.8532 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.862e-05/1.122, allocations: 19.94 kB / 0.8532 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008435/1.13, allocations: 3.836 MB / 0.8569 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.254e-05/1.13, allocations: 3.938 kB / 0.8569 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004339/1.135, allocations: 0.7591 MB / 0.8577 GB, free: 324 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001214/1.136, allocations: 388.9 kB / 0.858 GB, free: 15.93 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00066/1.137, allocations: 83.92 kB / 0.8581 GB, free: 15.84 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006633/1.143, allocations: 5.793 MB / 0.8638 GB, free: 9.777 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.143, allocations: 0 / 0.8638 GB, free: 9.777 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02076/1.164, allocations: 8.438 MB / 0.872 GB, free: 1.27 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002549/1.167, allocations: 0.9104 MB / 0.8729 GB, free: 344 kB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009455/1.168, allocations: 60 kB / 0.873 GB, free: 284 kB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004032/1.172, allocations: 472.1 kB / 0.8734 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005584/1.172, allocations: 213.9 kB / 0.8736 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003563/1.173, allocations: 115.9 kB / 0.8737 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003291/1.176, allocations: 1.83 MB / 0.8755 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/1.176, allocations: 0 / 0.8755 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004057/1.18, allocations: 1.122 MB / 0.8766 GB, free: 12.53 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (279): * Single equations (assignments): 265 * 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 {(3,25,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.002814/1.183, allocations: 1.064 MB / 0.8777 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01258/1.195, allocations: 5.136 MB / 0.8827 GB, free: 6.773 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.195, allocations: 0 / 0.8827 GB, free: 6.773 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006638/1.202, allocations: 2.932 MB / 0.8855 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004422/1.206, allocations: 0.6799 MB / 0.8862 GB, free: 3.191 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.01844/1.225, allocations: 9.929 MB / 0.8959 GB, free: 9.23 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003273/1.228, allocations: 2.447 MB / 0.8983 GB, free: 6.754 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00338/1.232, allocations: 330.1 kB / 0.8986 GB, free: 6.434 MB / 0.67 GB Notification: Performance of SimCode: time 1.362e-06/1.232, allocations: 0 / 0.8986 GB, free: 6.434 MB / 0.67 GB Notification: Performance of Templates: time 0.1418/1.373, allocations: 87.4 MB / 0.9839 GB, free: 15.28 MB / 0.7638 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)