Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7583/0.7583, allocations: 143.4 MB / 159.2 MB, free: 4.875 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.001192/0.001193, allocations: 190.9 kB / 191.9 MB, free: 5.734 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.513/1.513, allocations: 222.9 MB / 447.3 MB, free: 5.848 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.001015/0.001016, allocations: 99.73 kB / 0.517 GB, free: 3.707 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001932/0.001932, allocations: 284.9 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 79.86 kB / 0.6885 GB, free: 3.852 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3874, allocations: 81.29 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.5601/0.9475, allocations: 157.7 MB / 0.922 GB, free: 1.277 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.03497/0.9826, allocations: 26.4 MB / 0.9477 GB, free: 0.8281 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005136/0.9877, allocations: 60.12 kB / 0.9478 GB, free: 0.8281 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002852/0.9907, allocations: 0.8817 MB / 0.9487 GB, free: 0.8086 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.005813/0.9965, allocations: 1.446 MB / 0.9501 GB, free: 0.7461 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004867/1.001, allocations: 1.449 MB / 0.9515 GB, free: 0.6953 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.006715/1.008, allocations: 4.803 MB / 0.9562 GB, free: 0.6758 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005345/1.013, allocations: 3.691 MB / 0.9598 GB, free: 15.88 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004122/1.018, allocations: 1.602 MB / 0.9613 GB, free: 15.36 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004536/1.022, allocations: 2.172 MB / 0.9635 GB, free: 14.56 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0011/1.023, allocations: 232.9 kB / 0.9637 GB, free: 14.56 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003042/1.026, allocations: 0.8213 MB / 0.9645 GB, free: 14.41 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0009973/1.027, allocations: 0.8969 MB / 0.9654 GB, free: 13.98 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002745/1.03, allocations: 1.708 MB / 0.967 GB, free: 12.91 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.006352/1.037, allocations: 5.22 MB / 0.9721 GB, free: 10.29 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.037, allocations: 0 / 0.9721 GB, free: 10.29 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.943e-06/1.037, allocations: 3.469 kB / 0.9721 GB, free: 10.29 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002005/1.037, allocations: 0 / 0.9721 GB, free: 10.29 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.01336/1.05, allocations: 4.303 MB / 0.9763 GB, free: 7.379 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/1.05, allocations: 10.06 kB / 0.9763 GB, free: 7.379 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01329/1.064, allocations: 2.75 MB / 0.979 GB, free: 6.062 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005227/1.069, allocations: 2.17 MB / 0.9812 GB, free: 4.664 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/1.069, allocations: 235.7 kB / 0.9814 GB, free: 4.555 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006329/1.07, allocations: 302.1 kB / 0.9817 GB, free: 4.457 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01114/1.081, allocations: 4.966 MB / 0.9865 GB, free: 0.5625 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-05/1.081, allocations: 0 / 0.9865 GB, free: 0.5625 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003193/1.081, allocations: 128 kB / 0.9866 GB, free: 448 kB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.123e-05/1.081, allocations: 72 kB / 0.9867 GB, free: 376 kB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01373/1.095, allocations: 6.107 MB / 0.9927 GB, free: 10.25 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.02817/1.123, allocations: 13.64 MB / 1.006 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01033/1.134, allocations: 4.36 MB / 1.01 GB, free: 8.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005222/1.139, allocations: 2.319 MB / 1.013 GB, free: 5.762 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/1.14, allocations: 0.6661 MB / 1.013 GB, free: 4.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005496/1.145, allocations: 2.378 MB / 1.015 GB, free: 2.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=257): time 5.851e-06/1.145, allocations: 0 / 1.015 GB, free: 2.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=257): time 0.01733/1.163, allocations: 6.943 MB / 1.022 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/1.163, allocations: 210 kB / 1.022 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00396/1.167, allocations: 2.294 MB / 1.025 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0004093/1.167, allocations: 73.7 kB / 1.025 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001307/1.169, allocations: 1.292 MB / 1.026 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001049/1.17, allocations: 0.8561 MB / 1.027 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001312/1.171, allocations: 472.2 kB / 1.027 GB, free: 6.238 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.368e-05/1.171, allocations: 301.1 kB / 1.028 GB, free: 5.941 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004605/1.176, allocations: 1.897 MB / 1.029 GB, free: 4.039 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004884/1.181, allocations: 2.184 MB / 1.032 GB, free: 1.781 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009299/1.19, allocations: 4.056 MB / 1.036 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/1.19, allocations: 0 / 1.036 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01212/1.202, allocations: 4.707 MB / 1.04 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/1.202, allocations: 9.094 kB / 1.04 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/1.202, allocations: 4 kB / 1.04 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006661/1.203, allocations: 230.3 kB / 1.04 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00367/1.206, allocations: 0.771 MB / 1.041 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003948/1.21, allocations: 3.106 MB / 1.044 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003649/1.214, allocations: 0.5324 MB / 1.045 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003743/1.214, allocations: 107.9 kB / 1.045 GB, free: 4.074 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (272): * Single equations (assignments): 271 * 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.002061/1.217, allocations: 0.8904 MB / 1.046 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009234/1.217, allocations: 252.8 kB / 1.046 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/1.231, allocations: 5.274 MB / 1.051 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/1.231, allocations: 31 kB / 1.051 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/1.231, allocations: 0 / 1.051 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-05/1.231, allocations: 15.95 kB / 1.051 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02002/1.251, allocations: 8.82 MB / 1.06 GB, free: 4.699 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/1.251, allocations: 0 / 1.06 GB, free: 4.699 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003551/1.255, allocations: 0.7253 MB / 1.06 GB, free: 3.996 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000821/1.255, allocations: 259.9 kB / 1.061 GB, free: 3.734 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003362/1.256, allocations: 75.92 kB / 1.061 GB, free: 3.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004869/1.261, allocations: 4.804 MB / 1.065 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.261, allocations: 0 / 1.065 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3666/1.627, allocations: 122.3 MB / 1.185 GB, free: 3.285 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002787/1.63, allocations: 0.7733 MB / 1.186 GB, free: 2.492 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001202/1.631, allocations: 59.84 kB / 1.186 GB, free: 2.434 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003703/1.635, allocations: 409 kB / 1.186 GB, free: 2.035 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007656/1.636, allocations: 161.9 kB / 1.186 GB, free: 1.875 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005714/1.637, allocations: 95.92 kB / 1.186 GB, free: 1.781 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0033/1.64, allocations: 1.684 MB / 1.188 GB, free: 84 kB / 0.7761 GB Notification: Performance of sort global known variables: time 3.11e-07/1.64, allocations: 0 / 1.188 GB, free: 84 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.3852/2.025, allocations: 1.488 MB / 1.189 GB, free: 334.1 MB / 0.7761 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: 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 (251): * Single equations (assignments): 244 * 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.002745/2.028, allocations: 1.064 MB / 1.19 GB, free: 333.9 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01262/2.04, allocations: 4.576 MB / 1.195 GB, free: 333.6 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/2.041, allocations: 0 / 1.195 GB, free: 333.6 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.005973/2.047, allocations: 2.606 MB / 1.197 GB, free: 333.3 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/2.05, allocations: 0.6011 MB / 1.198 GB, free: 333.3 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01994/2.07, allocations: 11.09 MB / 1.209 GB, free: 328.4 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002917/2.073, allocations: 2.444 MB / 1.211 GB, free: 327.5 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00674/2.08, allocations: 1.413 MB / 1.213 GB, free: 327.3 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002809/2.082, allocations: 320.7 kB / 1.213 GB, free: 327.2 MB / 0.7761 GB Notification: Performance of SimCode: time 1.443e-06/2.082, allocations: 0 / 1.213 GB, free: 327.2 MB / 0.7761 GB Notification: Performance of Templates: time 0.1168/2.199, allocations: 91.35 MB / 1.302 GB, free: 244.2 MB / 0.7761 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)