Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001295/0.001295, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001538/0.001538, allocations: 195 kB / 16.14 MB, free: 6.734 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.365/1.365, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.761/2.761, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 70.56 kB / 0.9113 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2742, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1605/0.4347, allocations: 159.6 MB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.5637/0.9984, allocations: 26.77 MB / 1.25 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002629/1.001, allocations: 65.94 kB / 1.25 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002167/1.003, allocations: 0.9195 MB / 1.25 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00419/1.008, allocations: 1.619 MB / 1.252 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003181/1.011, allocations: 1.516 MB / 1.254 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005622/1.016, allocations: 5.469 MB / 1.259 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004222/1.021, allocations: 3.733 MB / 1.263 GB, free: 21.06 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002536/1.023, allocations: 1.741 MB / 1.264 GB, free: 21.05 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002908/1.026, allocations: 2.341 MB / 1.267 GB, free: 21.05 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005999/1.027, allocations: 239.3 kB / 1.267 GB, free: 21.05 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002052/1.029, allocations: 0.8279 MB / 1.268 GB, free: 21.03 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008793/1.03, allocations: 0.9435 MB / 1.268 GB, free: 20.93 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002152/1.032, allocations: 1.886 MB / 1.27 GB, free: 20.33 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009131/1.041, allocations: 5.678 MB / 1.276 GB, free: 19.56 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/1.041, allocations: 0 / 1.276 GB, free: 19.56 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.132e-06/1.041, allocations: 0 / 1.276 GB, free: 19.56 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002512/1.041, allocations: 1.375 kB / 1.276 GB, free: 19.56 MB / 1.014 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.01157/1.053, allocations: 4.626 MB / 1.28 GB, free: 17.68 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/1.053, allocations: 9.375 kB / 1.28 GB, free: 17.68 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01394/1.067, allocations: 2.77 MB / 1.283 GB, free: 17.42 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004733/1.072, allocations: 2.302 MB / 1.285 GB, free: 16.8 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/1.072, allocations: 238.4 kB / 1.286 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007275/1.073, allocations: 316 kB / 1.286 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01094/1.083, allocations: 5.155 MB / 1.291 GB, free: 16.5 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-05/1.084, allocations: 8.219 kB / 1.291 GB, free: 16.5 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003947/1.084, allocations: 129.5 kB / 1.291 GB, free: 16.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.515e-05/1.084, allocations: 76.56 kB / 1.291 GB, free: 16.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01427/1.098, allocations: 6.286 MB / 1.297 GB, free: 16.44 MB / 1.014 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.02392/1.122, allocations: 14.9 MB / 1.312 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008976/1.131, allocations: 4.708 MB / 1.316 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004654/1.136, allocations: 2.439 MB / 1.319 GB, free: 11.18 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009015/1.137, allocations: 0.6709 MB / 1.319 GB, free: 10.48 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005088/1.142, allocations: 2.632 MB / 1.322 GB, free: 9.582 MB / 1.014 GB Notification: Performance of pre-optimization done (n=278): time 4.95e-06/1.142, allocations: 0 / 1.322 GB, free: 9.582 MB / 1.014 GB Notification: Performance of matching and sorting (n=278): time 0.01634/1.158, allocations: 7.397 MB / 1.329 GB, free: 7.445 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/1.158, allocations: 215.3 kB / 1.329 GB, free: 7.223 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003862/1.162, allocations: 2.429 MB / 1.332 GB, free: 6.258 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0005511/1.163, allocations: 80.52 kB / 1.332 GB, free: 6.188 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001279/1.164, allocations: 1.333 MB / 1.333 GB, free: 5.031 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001152/1.165, allocations: 0.9088 MB / 1.334 GB, free: 4.254 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001384/1.167, allocations: 0.4997 MB / 1.335 GB, free: 3.973 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.059e-05/1.167, allocations: 305.1 kB / 1.335 GB, free: 3.672 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004916/1.172, allocations: 2.025 MB / 1.337 GB, free: 2.652 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005332/1.177, allocations: 2.346 MB / 1.339 GB, free: 1.34 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009335/1.186, allocations: 4.281 MB / 1.343 GB, free: 15.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/1.186, allocations: 0 / 1.343 GB, free: 15.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01155/1.198, allocations: 5.004 MB / 1.348 GB, free: 12.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/1.198, allocations: 7.469 kB / 1.348 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/1.198, allocations: 5.781 kB / 1.348 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006282/1.199, allocations: 224.8 kB / 1.348 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003905/1.203, allocations: 0.817 MB / 1.349 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003875/1.207, allocations: 3.1 MB / 1.352 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004031/1.211, allocations: 0.5752 MB / 1.353 GB, free: 9.035 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003703/1.211, allocations: 115.9 kB / 1.353 GB, free: 8.922 MB / 1.029 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.002195/1.213, allocations: 0.9477 MB / 1.354 GB, free: 7.992 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008585/1.214, allocations: 276.6 kB / 1.354 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/1.227, allocations: 5.632 MB / 1.36 GB, free: 2.039 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/1.227, allocations: 28 kB / 1.36 GB, free: 2.012 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/1.227, allocations: 4 kB / 1.36 GB, free: 2.008 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-05/1.227, allocations: 15.94 kB / 1.36 GB, free: 1.992 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005903/1.233, allocations: 3.683 MB / 1.363 GB, free: 14.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-05/1.233, allocations: 3.562 kB / 1.363 GB, free: 14.32 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003714/1.237, allocations: 0.741 MB / 1.364 GB, free: 13.6 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008448/1.238, allocations: 270.8 kB / 1.364 GB, free: 13.33 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003795/1.238, allocations: 83.92 kB / 1.364 GB, free: 13.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004628/1.243, allocations: 4.806 MB / 1.369 GB, free: 8.176 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.243, allocations: 0 / 1.369 GB, free: 8.176 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01728/1.26, allocations: 8.024 MB / 1.377 GB, free: 76 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001906/1.262, allocations: 0.8288 MB / 1.378 GB, free: 15.22 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007837/1.263, allocations: 75.83 kB / 1.378 GB, free: 15.15 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003429/1.266, allocations: 436.5 kB / 1.378 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000473/1.267, allocations: 201 kB / 1.378 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003092/1.267, allocations: 107.9 kB / 1.378 GB, free: 14.42 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002939/1.27, allocations: 1.777 MB / 1.38 GB, free: 12.63 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.91e-07/1.27, allocations: 0 / 1.38 GB, free: 12.63 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003752/1.274, allocations: 1.067 MB / 1.381 GB, free: 11.56 MB / 1.061 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.00303/1.277, allocations: 1.046 MB / 1.382 GB, free: 10.91 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01201/1.289, allocations: 4.889 MB / 1.387 GB, free: 6.016 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/1.289, allocations: 0 / 1.387 GB, free: 6.016 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.006198/1.295, allocations: 2.774 MB / 1.39 GB, free: 3.262 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00404/1.299, allocations: 0.6577 MB / 1.39 GB, free: 2.617 MB / 1.061 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.01604/1.315, allocations: 9.439 MB / 1.4 GB, free: 9.148 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002583/1.318, allocations: 2.457 MB / 1.402 GB, free: 6.656 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.004887/1.323, allocations: 1.146 MB / 1.403 GB, free: 5.512 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001487/1.324, allocations: 279.2 kB / 1.403 GB, free: 5.238 MB / 1.076 GB Notification: Performance of SimCode: time 5.31e-07/1.324, allocations: 0 / 1.403 GB, free: 5.238 MB / 1.076 GB Notification: Performance of Templates: time 0.0766/1.401, allocations: 46.33 MB / 1.449 GB, free: 7.434 MB / 1.123 GB make -j1 -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)