Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001702/0.001703, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001642/0.001642, allocations: 193.8 kB / 16.25 MB, free: 6.621 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.3/1.3, allocations: 222.9 MB / 239.9 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.694/2.694, allocations: 472.6 MB / 0.7448 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 60.22 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2611, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1628/0.4239, allocations: 159.8 MB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.5365/0.9604, allocations: 26.6 MB / 1.25 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003145/0.9636, allocations: 63.56 kB / 1.25 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00258/0.9662, allocations: 0.931 MB / 1.251 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005045/0.9713, allocations: 1.624 MB / 1.252 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003778/0.9751, allocations: 1.55 MB / 1.254 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006032/0.9811, allocations: 5.29 MB / 1.259 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005174/0.9863, allocations: 4.178 MB / 1.263 GB, free: 21.2 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004489/0.9908, allocations: 2.108 MB / 1.265 GB, free: 21.2 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00414/0.995, allocations: 2.56 MB / 1.268 GB, free: 21.2 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001044/0.9961, allocations: 454.9 kB / 1.268 GB, free: 21.2 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002537/0.9986, allocations: 1.042 MB / 1.269 GB, free: 21.18 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001112/0.9997, allocations: 1.183 MB / 1.27 GB, free: 21.07 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002986/1.003, allocations: 2.132 MB / 1.272 GB, free: 20.48 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007793/1.011, allocations: 5.877 MB / 1.278 GB, free: 19.71 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.011, allocations: 0 / 1.278 GB, free: 19.71 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.633e-06/1.011, allocations: 1.469 kB / 1.278 GB, free: 19.71 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001712/1.011, allocations: 1.031 kB / 1.278 GB, free: 19.71 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.01283/1.024, allocations: 4.617 MB / 1.282 GB, free: 17.86 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/1.024, allocations: 9.906 kB / 1.282 GB, free: 17.86 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01444/1.038, allocations: 2.765 MB / 1.285 GB, free: 17.64 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005413/1.044, allocations: 2.304 MB / 1.287 GB, free: 17.03 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/1.044, allocations: 242.9 kB / 1.288 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008449/1.045, allocations: 312.4 kB / 1.288 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01149/1.056, allocations: 5.16 MB / 1.293 GB, free: 16.75 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-05/1.056, allocations: 4.969 kB / 1.293 GB, free: 16.74 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004245/1.057, allocations: 130.3 kB / 1.293 GB, free: 16.74 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.729e-05/1.057, allocations: 77.12 kB / 1.293 GB, free: 16.74 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01378/1.071, allocations: 6.287 MB / 1.299 GB, free: 16.71 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.0252/1.096, allocations: 14.9 MB / 1.314 GB, free: 12.37 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01007/1.106, allocations: 4.71 MB / 1.318 GB, free: 12.22 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00485/1.111, allocations: 2.439 MB / 1.321 GB, free: 12.16 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009853/1.112, allocations: 0.6697 MB / 1.322 GB, free: 11.46 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005617/1.117, allocations: 2.624 MB / 1.324 GB, free: 10.57 MB / 1.014 GB Notification: Performance of pre-optimization done (n=278): time 1.617e-05/1.117, allocations: 112 / 1.324 GB, free: 10.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=278): time 0.01733/1.135, allocations: 7.4 MB / 1.331 GB, free: 7.293 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/1.135, allocations: 213.2 kB / 1.332 GB, free: 7.066 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003661/1.139, allocations: 2.431 MB / 1.334 GB, free: 5.855 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003921/1.139, allocations: 83.11 kB / 1.334 GB, free: 5.781 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001268/1.14, allocations: 1.333 MB / 1.335 GB, free: 4.625 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009843/1.141, allocations: 0.9036 MB / 1.336 GB, free: 3.848 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001138/1.142, allocations: 0.4992 MB / 1.337 GB, free: 3.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.931e-05/1.142, allocations: 301.1 kB / 1.337 GB, free: 3.273 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004711/1.147, allocations: 2.034 MB / 1.339 GB, free: 2.246 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005164/1.152, allocations: 2.34 MB / 1.341 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009551/1.162, allocations: 4.28 MB / 1.345 GB, free: 14.67 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/1.162, allocations: 0 / 1.345 GB, free: 14.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01127/1.173, allocations: 5 MB / 1.35 GB, free: 12.17 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/1.173, allocations: 9.984 kB / 1.35 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/1.173, allocations: 5.406 kB / 1.35 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000609/1.174, allocations: 234.9 kB / 1.351 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00399/1.178, allocations: 0.8103 MB / 1.351 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003986/1.182, allocations: 3.378 MB / 1.355 GB, free: 8.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004284/1.186, allocations: 0.5807 MB / 1.355 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004198/1.187, allocations: 111.9 kB / 1.355 GB, free: 7.789 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.002118/1.189, allocations: 0.9555 MB / 1.356 GB, free: 6.852 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007665/1.19, allocations: 272.6 kB / 1.356 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/1.203, allocations: 5.624 MB / 1.362 GB, free: 0.9062 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.671e-05/1.203, allocations: 35.94 kB / 1.362 GB, free: 0.8711 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.203, allocations: 0 / 1.362 GB, free: 0.8711 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.414e-05/1.203, allocations: 15.95 kB / 1.362 GB, free: 0.8555 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005785/1.209, allocations: 3.687 MB / 1.366 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/1.209, allocations: 0 / 1.366 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004033/1.213, allocations: 0.7331 MB / 1.366 GB, free: 12.47 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009226/1.214, allocations: 271.7 kB / 1.367 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004507/1.214, allocations: 87.91 kB / 1.367 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005028/1.219, allocations: 5.237 MB / 1.372 GB, free: 6.602 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/1.219, allocations: 8.016 kB / 1.372 GB, free: 6.594 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01845/1.238, allocations: 8.026 MB / 1.38 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002159/1.24, allocations: 0.8249 MB / 1.38 GB, free: 13.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009501/1.241, allocations: 71.83 kB / 1.38 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003896/1.245, allocations: 443.3 kB / 1.381 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005817/1.245, allocations: 206 kB / 1.381 GB, free: 12.94 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003695/1.246, allocations: 106.8 kB / 1.381 GB, free: 12.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00298/1.249, allocations: 1.773 MB / 1.383 GB, free: 11.05 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.8e-07/1.249, allocations: 3.562 kB / 1.383 GB, free: 11.05 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003781/1.253, allocations: 1.064 MB / 1.384 GB, free: 9.984 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.002713/1.255, allocations: 1.045 MB / 1.385 GB, free: 9.336 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.02194/1.277, allocations: 8.536 MB / 1.393 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.277, allocations: 7.938 kB / 1.393 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.006908/1.284, allocations: 2.778 MB / 1.396 GB, free: 14.05 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004434/1.289, allocations: 0.6943 MB / 1.397 GB, free: 13.39 MB / 1.076 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.0172/1.306, allocations: 9.446 MB / 1.406 GB, free: 3.918 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002649/1.309, allocations: 2.453 MB / 1.408 GB, free: 1.43 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.005262/1.314, allocations: 1.14 MB / 1.409 GB, free: 292 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/1.315, allocations: 283.2 kB / 1.41 GB, free: 8 kB / 1.076 GB Notification: Performance of SimCode: time 2.124e-06/1.315, allocations: 4 kB / 1.41 GB, free: 4 kB / 1.076 GB Notification: Performance of Templates: time 0.08242/1.398, allocations: 47.94 MB / 1.457 GB, free: 0.6367 MB / 1.123 GB make -j1 -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)