Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomSteadyState") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8212/0.8212, allocations: 143.4 MB / 159.2 MB, free: 4.844 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 187.7 kB / 191.9 MB, free: 5.715 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 447.3 MB, free: 5.867 MB / 330.7 MB 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: 104.6 kB / 0.517 GB, free: 3.723 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001896/0.001896, allocations: 278.7 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001617, allocations: 79.89 kB / 0.6885 GB, free: 3.848 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3971, allocations: 81.28 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomSteadyState): time 0.4783/0.8754, allocations: 157.8 MB / 0.922 GB, free: 1.262 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0293/0.9048, allocations: 26.41 MB / 0.9478 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003948/0.9087, allocations: 63.62 kB / 0.9479 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001977/0.9108, allocations: 0.5183 MB / 0.9484 GB, free: 0.793 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004671/0.9155, allocations: 1.262 MB / 0.9496 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003743/0.9192, allocations: 1.431 MB / 0.951 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.004426/0.9237, allocations: 4.725 MB / 0.9556 GB, free: 0.6641 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004152/0.9278, allocations: 3.535 MB / 0.9591 GB, free: 15.94 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003159/0.931, allocations: 1.513 MB / 0.9605 GB, free: 15.43 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003049/0.9341, allocations: 1.975 MB / 0.9625 GB, free: 14.66 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0006213/0.9347, allocations: 225.1 kB / 0.9627 GB, free: 14.66 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003012/0.9377, allocations: 1.222 MB / 0.9639 GB, free: 14.41 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000782/0.9385, allocations: 0.8331 MB / 0.9647 GB, free: 14 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002155/0.9407, allocations: 1.618 MB / 0.9663 GB, free: 13 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.007493/0.9482, allocations: 5.218 MB / 0.9714 GB, free: 10.66 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.308e-05/0.9483, allocations: 0 / 0.9714 GB, free: 10.66 MB / 0.573 GB Notification: Performance of FrontEnd: time 6.082e-06/0.9483, allocations: 0 / 0.9714 GB, free: 10.66 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002943/0.9486, allocations: 6.469 kB / 0.9714 GB, free: 10.66 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 768 * Number of variables: 768 Notification: Performance of Generate backend data structure: time 0.01143/0.9601, allocations: 4.054 MB / 0.9753 GB, free: 7.914 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.9601, allocations: 10.75 kB / 0.9754 GB, free: 7.914 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01293/0.9731, allocations: 2.746 MB / 0.978 GB, free: 6.602 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004583/0.9777, allocations: 2.061 MB / 0.98 GB, free: 5.262 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.9778, allocations: 227.4 kB / 0.9803 GB, free: 5.16 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005338/0.9784, allocations: 296.7 kB / 0.9805 GB, free: 5.062 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01076/0.9891, allocations: 4.944 MB / 0.9854 GB, free: 1.695 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.213e-05/0.9892, allocations: 0 / 0.9854 GB, free: 1.695 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003163/0.9896, allocations: 124 kB / 0.9855 GB, free: 1.574 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.166e-05/0.9896, allocations: 76 kB / 0.9856 GB, free: 1.5 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01498/1.005, allocations: 6.1 MB / 0.9915 GB, free: 11.39 MB / 0.5886 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.02772/1.032, allocations: 15.39 MB / 1.007 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007605/1.04, allocations: 3.668 MB / 1.01 GB, free: 7.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004244/1.044, allocations: 2.007 MB / 1.012 GB, free: 5.918 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003496/1.045, allocations: 231 kB / 1.012 GB, free: 5.668 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004499/1.049, allocations: 2.133 MB / 1.014 GB, free: 3.516 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=231): time 5.46e-06/1.049, allocations: 0 / 1.014 GB, free: 3.516 MB / 0.6042 GB Notification: Performance of matching and sorting (n=231): time 0.01479/1.064, allocations: 6.092 MB / 1.02 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/1.064, allocations: 287 kB / 1.021 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003508/1.068, allocations: 2.069 MB / 1.023 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0005957/1.068, allocations: 65.7 kB / 1.023 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001173/1.07, allocations: 1.205 MB / 1.024 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001149/1.071, allocations: 0.7621 MB / 1.025 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009764/1.072, allocations: 483.9 kB / 1.025 GB, free: 8.402 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.419e-05/1.072, allocations: 301.1 kB / 1.025 GB, free: 8.105 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003858/1.076, allocations: 1.694 MB / 1.027 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00438/1.08, allocations: 2.067 MB / 1.029 GB, free: 4.223 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008143/1.088, allocations: 3.73 MB / 1.033 GB, free: 412 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/1.088, allocations: 3.938 kB / 1.033 GB, free: 408 kB / 0.6198 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.01073/1.099, allocations: 4.337 MB / 1.037 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/1.099, allocations: 9.406 kB / 1.037 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/1.099, allocations: 11.94 kB / 1.037 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006858/1.1, allocations: 225.9 kB / 1.037 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003401/1.103, allocations: 0.7206 MB / 1.038 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003853/1.107, allocations: 3.101 MB / 1.041 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003948/1.111, allocations: 0.5515 MB / 1.041 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005477/1.112, allocations: 107.9 kB / 1.042 GB, free: 7.238 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 265 * 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.001883/1.114, allocations: 0.808 MB / 1.042 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007596/1.114, allocations: 245 kB / 1.043 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/1.125, allocations: 4.505 MB / 1.047 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/1.125, allocations: 28 kB / 1.047 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/1.125, allocations: 4 kB / 1.047 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.396e-05/1.125, allocations: 11.95 kB / 1.047 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/1.14, allocations: 7.724 MB / 1.055 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.219e-05/1.14, allocations: 15.98 kB / 1.055 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002469/1.143, allocations: 0.5543 MB / 1.055 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000831/1.144, allocations: 275.6 kB / 1.055 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002374/1.144, allocations: 71.95 kB / 1.055 GB, free: 8.941 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004963/1.149, allocations: 4.816 MB / 1.06 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/1.149, allocations: 21.97 kB / 1.06 GB, free: 3.844 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07221/1.221, allocations: 32.67 MB / 1.092 GB, free: 2.488 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/1.223, allocations: 0.6656 MB / 1.093 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004071/1.223, allocations: 67.83 kB / 1.093 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002305/1.225, allocations: 289.2 kB / 1.093 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003481/1.226, allocations: 193.2 kB / 1.093 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/1.226, allocations: 90.58 kB / 1.093 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002171/1.228, allocations: 1.487 MB / 1.095 GB, free: 15.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.228, allocations: 4 kB / 1.095 GB, free: 15.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003499/1.232, allocations: 1.142 MB / 1.096 GB, free: 14.54 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002161/1.234, allocations: 1.023 MB / 1.097 GB, free: 13.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007935/1.242, allocations: 3.75 MB / 1.101 GB, free: 10.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/1.242, allocations: 0 / 1.101 GB, free: 10.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003975/1.246, allocations: 1.995 MB / 1.103 GB, free: 8.223 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00318/1.249, allocations: 0.6063 MB / 1.103 GB, free: 7.633 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/1.263, allocations: 9.665 MB / 1.113 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002123/1.265, allocations: 2.294 MB / 1.115 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003857/1.269, allocations: 1.021 MB / 1.116 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/1.27, allocations: 269.8 kB / 1.116 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of SimCode: time 5.71e-07/1.27, allocations: 0 / 1.116 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of Templates: time 0.07937/1.349, allocations: 51.07 MB / 1.166 GB, free: 7.457 MB / 0.7605 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomSteadyState.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomSteadyState.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe 2>&1)