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.001078/0.001079, allocations: 107.6 kB / 16.27 MB, free: 5.984 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.001133/0.001132, allocations: 191 kB / 17.2 MB, free: 5.613 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.31/1.31, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8231/0.8231, allocations: 126.4 MB / 417.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 59.91 kB / 0.4953 GB, free: 3.066 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3355, allocations: 78.78 MB / 0.5723 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1562/0.4917, allocations: 162 MB / 0.7305 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.355/0.8467, allocations: 26.94 MB / 0.7568 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003657/0.8504, allocations: 72.36 kB / 0.7569 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002778/0.8533, allocations: 1.041 MB / 0.7579 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006126/0.8594, allocations: 1.794 MB / 0.7596 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004677/0.8641, allocations: 1.718 MB / 0.7613 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009262/0.8734, allocations: 5.279 MB / 0.7665 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006649/0.8801, allocations: 4.168 MB / 0.7705 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006035/0.8861, allocations: 2.104 MB / 0.7726 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004999/0.8912, allocations: 2.526 MB / 0.7751 GB, free: 17.17 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001759/0.8929, allocations: 459.8 kB / 0.7755 GB, free: 17.17 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003918/0.8969, allocations: 1.033 MB / 0.7765 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001623/0.8985, allocations: 1.176 MB / 0.7776 GB, free: 17 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003747/0.9023, allocations: 2.131 MB / 0.7797 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007455/0.9098, allocations: 5.865 MB / 0.7855 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.9098, allocations: 3.406 kB / 0.7855 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9098, allocations: 0.8438 kB / 0.7855 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002092/0.91, allocations: 0 / 0.7855 GB, free: 15.64 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: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.01144/0.9215, allocations: 4.617 MB / 0.79 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.9215, allocations: 13.47 kB / 0.79 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01338/0.9349, allocations: 2.77 MB / 0.7927 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006392/0.9414, allocations: 2.276 MB / 0.7949 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002345/0.9416, allocations: 240 kB / 0.7951 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001159/0.9428, allocations: 312.8 kB / 0.7954 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01255/0.9554, allocations: 5.164 MB / 0.8005 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000159/0.9556, allocations: 4.406 kB / 0.8005 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008029/0.9564, allocations: 133.6 kB / 0.8006 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.88e-05/0.9565, allocations: 76.44 kB / 0.8007 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01648/0.973, allocations: 6.291 MB / 0.8068 GB, free: 10.58 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.03433/1.007, allocations: 14.71 MB / 0.8212 GB, free: 208 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01351/1.021, allocations: 4.697 MB / 0.8258 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006741/1.028, allocations: 2.437 MB / 0.8282 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/1.029, allocations: 0.6657 MB / 0.8288 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008219/1.037, allocations: 2.633 MB / 0.8314 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=278): time 6.543e-06/1.037, allocations: 0 / 0.8314 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=278): time 0.02204/1.059, allocations: 7.397 MB / 0.8386 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/1.059, allocations: 214.1 kB / 0.8388 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004879/1.064, allocations: 2.43 MB / 0.8412 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0008828/1.065, allocations: 81.69 kB / 0.8413 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00167/1.067, allocations: 1.333 MB / 0.8426 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001715/1.069, allocations: 0.9124 MB / 0.8435 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002348/1.071, allocations: 0.5047 MB / 0.8439 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001019/1.071, allocations: 305.1 kB / 0.8442 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005487/1.077, allocations: 2.031 MB / 0.8462 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005929/1.083, allocations: 2.34 MB / 0.8485 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/1.094, allocations: 4.271 MB / 0.8527 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.606e-05/1.094, allocations: 4.109 kB / 0.8527 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01378/1.108, allocations: 5.008 MB / 0.8576 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/1.108, allocations: 4 kB / 0.8576 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/1.108, allocations: 4 kB / 0.8576 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007226/1.108, allocations: 236.7 kB / 0.8578 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004407/1.113, allocations: 0.8111 MB / 0.8586 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004466/1.117, allocations: 3.372 MB / 0.8619 GB, free: 5.922 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004576/1.122, allocations: 0.5557 MB / 0.8624 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007173/1.123, allocations: 115.9 kB / 0.8625 GB, free: 5.25 MB / 0.6387 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.002969/1.126, allocations: 0.9498 MB / 0.8635 GB, free: 4.32 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001247/1.127, allocations: 276.5 kB / 0.8637 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01525/1.142, allocations: 5.635 MB / 0.8692 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.547e-05/1.142, allocations: 28 kB / 0.8693 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.019e-05/1.142, allocations: 4 kB / 0.8693 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-05/1.142, allocations: 15.94 kB / 0.8693 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006405/1.149, allocations: 3.688 MB / 0.8729 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.514e-05/1.149, allocations: 0 / 0.8729 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003881/1.153, allocations: 0.754 MB / 0.8736 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008568/1.154, allocations: 264.6 kB / 0.8739 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004096/1.154, allocations: 83.92 kB / 0.874 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005087/1.159, allocations: 5.234 MB / 0.8791 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.159, allocations: 0 / 0.8791 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0196/1.179, allocations: 8.026 MB / 0.8869 GB, free: 11.96 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002118/1.181, allocations: 0.8327 MB / 0.8877 GB, free: 11.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009509/1.182, allocations: 67.83 kB / 0.8878 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003734/1.186, allocations: 419.4 kB / 0.8882 GB, free: 10.62 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006082/1.186, allocations: 205.2 kB / 0.8884 GB, free: 10.43 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003722/1.187, allocations: 111.9 kB / 0.8885 GB, free: 10.32 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003132/1.19, allocations: 1.777 MB / 0.8902 GB, free: 8.527 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/1.19, allocations: 0 / 0.8902 GB, free: 8.527 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003628/1.193, allocations: 1.068 MB / 0.8913 GB, free: 7.457 MB / 0.67 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.002732/1.196, allocations: 1.055 MB / 0.8923 GB, free: 6.848 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02167/1.218, allocations: 8.529 MB / 0.9006 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/1.218, allocations: 0 / 0.9006 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.006721/1.225, allocations: 2.779 MB / 0.9033 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004084/1.229, allocations: 0.7047 MB / 0.904 GB, free: 10.91 MB / 0.6856 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.01591/1.245, allocations: 7.996 MB / 0.9118 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00271/1.247, allocations: 2.456 MB / 0.9142 GB, free: 404 kB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.005028/1.252, allocations: 1.139 MB / 0.9153 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/1.254, allocations: 283.2 kB / 0.9156 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of SimCode: time 5.31e-07/1.254, allocations: 0 / 0.9156 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of Templates: time 0.08407/1.338, allocations: 48.34 MB / 0.9628 GB, free: 15.11 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)