Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00702/0.00702, allocations: 97.38 kB / 15.73 MB, free: 6.062 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.001854/0.001854, allocations: 203 kB / 16.68 MB, free: 5.977 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.644/2.644, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 63.91 kB / 1.083 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2713, allocations: 162.3 MB / 1.242 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.6573/0.9286, allocations: 162 MB / 1.4 GB, free: 12.59 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03101/0.9596, allocations: 26.94 MB / 1.426 GB, free: 6.531 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002452/0.9621, allocations: 73.12 kB / 1.426 GB, free: 6.508 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002006/0.9642, allocations: 1.051 MB / 1.427 GB, free: 5.75 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004507/0.9687, allocations: 1.79 MB / 1.429 GB, free: 4.391 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003778/0.9725, allocations: 1.721 MB / 1.431 GB, free: 3.027 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.005755/0.9782, allocations: 5.303 MB / 1.436 GB, free: 15.81 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004739/0.983, allocations: 4.166 MB / 1.44 GB, free: 11.95 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00318/0.9862, allocations: 2.11 MB / 1.442 GB, free: 9.836 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003248/0.9894, allocations: 2.528 MB / 1.445 GB, free: 7.301 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0007042/0.9902, allocations: 460 kB / 1.445 GB, free: 6.852 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002142/0.9923, allocations: 1.066 MB / 1.446 GB, free: 5.785 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.9933, allocations: 1.18 MB / 1.447 GB, free: 4.602 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002179/0.9955, allocations: 2.127 MB / 1.449 GB, free: 2.465 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.006426/1.002, allocations: 5.999 MB / 1.455 GB, free: 12.44 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/1.002, allocations: 0 / 1.455 GB, free: 12.44 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.453e-06/1.002, allocations: 0 / 1.455 GB, free: 12.44 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.114e-05/1.002, allocations: 0 / 1.455 GB, free: 12.44 MB / 1.154 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.008849/1.011, allocations: 4.755 MB / 1.46 GB, free: 7.59 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/1.011, allocations: 12.03 kB / 1.46 GB, free: 7.578 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005327/1.012, allocations: 451 kB / 1.46 GB, free: 7.125 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01264/1.024, allocations: 2.794 MB / 1.463 GB, free: 4.324 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004197/1.028, allocations: 2.343 MB / 1.465 GB, free: 1.906 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/1.029, allocations: 238.4 kB / 1.466 GB, free: 1.672 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004923/1.029, allocations: 320 kB / 1.466 GB, free: 1.359 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01039/1.039, allocations: 5.158 MB / 1.471 GB, free: 12.12 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.569e-05/1.04, allocations: 7.938 kB / 1.471 GB, free: 12.11 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003421/1.04, allocations: 132 kB / 1.471 GB, free: 11.98 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.656e-05/1.04, allocations: 79.94 kB / 1.471 GB, free: 11.9 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01373/1.054, allocations: 6.283 MB / 1.477 GB, free: 5.605 MB / 1.17 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.02259/1.076, allocations: 14.61 MB / 1.492 GB, free: 6.434 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0102/1.087, allocations: 4.699 MB / 1.496 GB, free: 1.723 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005003/1.092, allocations: 2.437 MB / 1.499 GB, free: 15.28 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008999/1.092, allocations: 0.6734 MB / 1.499 GB, free: 14.47 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005404/1.098, allocations: 2.631 MB / 1.502 GB, free: 11.8 MB / 1.201 GB Notification: Performance of pre-optimization done (n=278): time 4.449e-06/1.098, allocations: 4 kB / 1.502 GB, free: 11.8 MB / 1.201 GB Notification: Performance of matching and sorting (n=278): time 0.01726/1.115, allocations: 7.413 MB / 1.509 GB, free: 4.266 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/1.115, allocations: 214.1 kB / 1.509 GB, free: 4.012 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003597/1.119, allocations: 2.438 MB / 1.512 GB, free: 1.547 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002429/1.119, allocations: 81.69 kB / 1.512 GB, free: 1.461 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001257/1.12, allocations: 1.356 MB / 1.513 GB, free: 92 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009165/1.121, allocations: 0.9569 MB / 1.514 GB, free: 15.12 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009705/1.122, allocations: 0.4891 MB / 1.514 GB, free: 14.62 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.123, allocations: 305.1 kB / 1.515 GB, free: 14.32 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004646/1.127, allocations: 2.007 MB / 1.517 GB, free: 12.31 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004962/1.132, allocations: 2.335 MB / 1.519 GB, free: 9.891 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00941/1.142, allocations: 4.248 MB / 1.523 GB, free: 5.555 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.447e-06/1.142, allocations: 4 kB / 1.523 GB, free: 5.551 MB / 1.217 GB Notification: Performance of matching and sorting (n=314) (initialization): time 0.01132/1.153, allocations: 4.962 MB / 1.528 GB, free: 0.543 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/1.153, allocations: 11.98 kB / 1.528 GB, free: 0.5312 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/1.153, allocations: 4 kB / 1.528 GB, free: 0.5273 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006205/1.154, allocations: 231.1 kB / 1.528 GB, free: 308 kB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003728/1.157, allocations: 0.7995 MB / 1.529 GB, free: 15.5 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00423/1.162, allocations: 3.379 MB / 1.532 GB, free: 11.99 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003405/1.165, allocations: 0.5581 MB / 1.533 GB, free: 11.43 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003134/1.165, allocations: 107.9 kB / 1.533 GB, free: 11.33 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.intGai.nextTimeEvent,$whenCondition1,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 (292): * Single equations (assignments): 291 * 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.001833/1.167, allocations: 0.9499 MB / 1.534 GB, free: 10.37 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007469/1.168, allocations: 286.1 kB / 1.534 GB, free: 10.09 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/1.181, allocations: 5.638 MB / 1.54 GB, free: 4.387 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-05/1.181, allocations: 35.92 kB / 1.54 GB, free: 4.352 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/1.181, allocations: 4 kB / 1.54 GB, free: 4.348 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.606e-05/1.181, allocations: 11.95 kB / 1.54 GB, free: 4.336 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005377/1.186, allocations: 3.7 MB / 1.543 GB, free: 0.5781 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.937e-05/1.186, allocations: 0 / 1.543 GB, free: 0.5781 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003551/1.19, allocations: 0.7488 MB / 1.544 GB, free: 15.83 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008075/1.191, allocations: 269 kB / 1.544 GB, free: 15.56 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002846/1.191, allocations: 79.92 kB / 1.544 GB, free: 15.48 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005166/1.196, allocations: 5.235 MB / 1.549 GB, free: 9.938 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.196, allocations: 0 / 1.549 GB, free: 9.938 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01714/1.214, allocations: 8.043 MB / 1.557 GB, free: 1.805 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/1.215, allocations: 0.842 MB / 1.558 GB, free: 0.9414 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006269/1.216, allocations: 71.88 kB / 1.558 GB, free: 0.8711 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003151/1.219, allocations: 411.4 kB / 1.559 GB, free: 480 kB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004485/1.219, allocations: 206 kB / 1.559 GB, free: 272 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002733/1.22, allocations: 111.9 kB / 1.559 GB, free: 160 kB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002688/1.222, allocations: 1.777 MB / 1.561 GB, free: 14.36 MB / 1.264 GB Notification: Performance of sort global known variables: time 2.3e-07/1.222, allocations: 3.938 kB / 1.561 GB, free: 14.36 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002646/1.225, allocations: 1.076 MB / 1.562 GB, free: 13.28 MB / 1.264 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.0203/1.245, allocations: 9.558 MB / 1.571 GB, free: 3.973 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01069/1.256, allocations: 4.874 MB / 1.576 GB, free: 15.05 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.256, allocations: 3.938 kB / 1.576 GB, free: 15.05 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.005745/1.262, allocations: 2.772 MB / 1.578 GB, free: 12.25 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003036/1.265, allocations: 0.7086 MB / 1.579 GB, free: 11.57 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05377/1.319, allocations: 29.23 MB / 1.608 GB, free: 13.98 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002357/1.321, allocations: 2.456 MB / 1.61 GB, free: 11.5 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.003427/1.325, allocations: 1.15 MB / 1.611 GB, free: 10.34 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00231/1.327, allocations: 1.436 MB / 1.613 GB, free: 8.906 MB / 1.311 GB Notification: Performance of SimCode: time 3.617e-06/1.327, allocations: 0 / 1.613 GB, free: 8.906 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8665/2.193, allocations: 71.64 MB / 1.683 GB, free: 1.793 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.79/19.99, allocations: 6.812 kB / 1.683 GB, free: 1.789 MB / 1.373 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)