Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="Buildings_9_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.007605/0.007605, allocations: 102 kB / 15.73 MB, free: 6.051 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.001761/0.001761, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.153/2.153, allocations: 390.2 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001208, allocations: 63.88 kB / 0.9504 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7962/0.7974, allocations: 140.4 MB / 1.087 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.2052/1.003, allocations: 160.5 MB / 1.244 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03819/1.041, allocations: 26.76 MB / 1.27 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004665/1.046, allocations: 71.62 kB / 1.27 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003158/1.049, allocations: 0.9946 MB / 1.271 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006162/1.055, allocations: 1.669 MB / 1.273 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00499/1.06, allocations: 1.708 MB / 1.275 GB, free: 14.07 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007253/1.067, allocations: 4.87 MB / 1.279 GB, free: 9.176 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006818/1.074, allocations: 4.215 MB / 1.283 GB, free: 4.898 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004456/1.079, allocations: 2.039 MB / 1.285 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004266/1.083, allocations: 2.456 MB / 1.288 GB, free: 400 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001835/1.085, allocations: 460 kB / 1.288 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003453/1.088, allocations: 1.058 MB / 1.289 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002292/1.091, allocations: 1.176 MB / 1.291 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004073/1.095, allocations: 2.056 MB / 1.293 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00911/1.104, allocations: 5.834 MB / 1.298 GB, free: 5.785 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/1.104, allocations: 0 / 1.298 GB, free: 5.785 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.954e-06/1.104, allocations: 0 / 1.298 GB, free: 5.785 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002177/1.104, allocations: 4 kB / 1.298 GB, free: 5.781 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 815 * Number of variables: 815 Notification: Performance of Generate backend data structure: time 0.01323/1.117, allocations: 4.566 MB / 1.303 GB, free: 1.125 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/1.117, allocations: 12.03 kB / 1.303 GB, free: 1.113 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001386/1.119, allocations: 447 kB / 1.303 GB, free: 0.6641 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0142/1.133, allocations: 2.768 MB / 1.306 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006019/1.139, allocations: 2.306 MB / 1.308 GB, free: 11.5 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002711/1.139, allocations: 250.4 kB / 1.308 GB, free: 11.26 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001241/1.141, allocations: 308 kB / 1.309 GB, free: 10.96 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01488/1.156, allocations: 5.158 MB / 1.314 GB, free: 5.719 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001172/1.156, allocations: 4 kB / 1.314 GB, free: 5.715 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009436/1.157, allocations: 131.9 kB / 1.314 GB, free: 5.586 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.477e-05/1.157, allocations: 83.94 kB / 1.314 GB, free: 5.504 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0174/1.174, allocations: 6.283 MB / 1.32 GB, free: 15.21 MB / 1.061 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.03092/1.205, allocations: 14 MB / 1.334 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01182/1.217, allocations: 4.688 MB / 1.338 GB, free: 12.07 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006051/1.223, allocations: 2.433 MB / 1.341 GB, free: 9.625 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/1.224, allocations: 0.6736 MB / 1.341 GB, free: 8.824 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00659/1.231, allocations: 2.625 MB / 1.344 GB, free: 6.16 MB / 1.076 GB Notification: Performance of pre-optimization done (n=278): time 6.362e-06/1.231, allocations: 7.938 kB / 1.344 GB, free: 6.152 MB / 1.076 GB Notification: Performance of matching and sorting (n=278): time 0.01979/1.251, allocations: 7.393 MB / 1.351 GB, free: 14.64 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/1.251, allocations: 210.1 kB / 1.351 GB, free: 14.39 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004333/1.255, allocations: 2.422 MB / 1.354 GB, free: 11.94 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0006155/1.256, allocations: 85.62 kB / 1.354 GB, free: 11.85 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.00142/1.257, allocations: 1.353 MB / 1.355 GB, free: 10.48 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001272/1.259, allocations: 0.9087 MB / 1.356 GB, free: 9.559 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001524/1.26, allocations: 0.489 MB / 1.356 GB, free: 9.062 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001044/1.26, allocations: 305.1 kB / 1.357 GB, free: 8.762 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004987/1.265, allocations: 2.003 MB / 1.359 GB, free: 6.754 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005339/1.271, allocations: 2.333 MB / 1.361 GB, free: 4.336 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01063/1.281, allocations: 4.244 MB / 1.365 GB, free: 4 kB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/1.281, allocations: 0 / 1.365 GB, free: 4 kB / 1.092 GB Notification: Performance of matching and sorting (n=314) (initialization): time 0.01339/1.295, allocations: 4.941 MB / 1.37 GB, free: 11.01 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/1.295, allocations: 12.03 kB / 1.37 GB, free: 11 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/1.295, allocations: 4 kB / 1.37 GB, free: 10.99 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006893/1.295, allocations: 230.2 kB / 1.37 GB, free: 10.77 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004205/1.3, allocations: 0.7995 MB / 1.371 GB, free: 9.965 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004434/1.304, allocations: 3.382 MB / 1.374 GB, free: 6.449 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003995/1.308, allocations: 0.5479 MB / 1.375 GB, free: 5.898 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000581/1.309, allocations: 107.9 kB / 1.375 GB, free: 5.793 MB / 1.107 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.002384/1.311, allocations: 0.9499 MB / 1.376 GB, free: 4.832 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001038/1.312, allocations: 276.5 kB / 1.376 GB, free: 4.559 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01466/1.327, allocations: 5.623 MB / 1.382 GB, free: 14.87 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-05/1.327, allocations: 28 kB / 1.382 GB, free: 14.84 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.905e-05/1.327, allocations: 3.984 kB / 1.382 GB, free: 14.84 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.115e-05/1.327, allocations: 15.95 kB / 1.382 GB, free: 14.82 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006767/1.334, allocations: 3.695 MB / 1.385 GB, free: 11.07 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.074e-05/1.334, allocations: 0 / 1.385 GB, free: 11.07 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004203/1.338, allocations: 0.741 MB / 1.386 GB, free: 10.32 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009509/1.339, allocations: 272.3 kB / 1.386 GB, free: 10.05 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006328/1.34, allocations: 79.91 kB / 1.386 GB, free: 9.973 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006128/1.346, allocations: 5.227 MB / 1.391 GB, free: 4.445 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.346, allocations: 4.062 kB / 1.391 GB, free: 4.441 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02325/1.369, allocations: 8.014 MB / 1.399 GB, free: 12.34 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002651/1.372, allocations: 0.8365 MB / 1.4 GB, free: 11.48 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001025/1.373, allocations: 67.84 kB / 1.4 GB, free: 11.41 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003777/1.377, allocations: 419.4 kB / 1.4 GB, free: 11 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006777/1.377, allocations: 198.1 kB / 1.401 GB, free: 10.8 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005268/1.378, allocations: 111.8 kB / 1.401 GB, free: 10.7 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002994/1.381, allocations: 1.777 MB / 1.402 GB, free: 8.906 MB / 1.139 GB Notification: Performance of sort global known variables: time 4.91e-07/1.381, allocations: 3.938 kB / 1.402 GB, free: 8.902 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003648/1.385, allocations: 1.009 MB / 1.403 GB, free: 7.891 MB / 1.139 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.02052/1.405, allocations: 9.528 MB / 1.413 GB, free: 14.61 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01153/1.417, allocations: 4.866 MB / 1.418 GB, free: 9.695 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/1.417, allocations: 4 kB / 1.418 GB, free: 9.691 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00631/1.423, allocations: 2.768 MB / 1.42 GB, free: 6.895 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003498/1.427, allocations: 0.6668 MB / 1.421 GB, free: 6.266 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05828/1.485, allocations: 29.14 MB / 1.449 GB, free: 8.773 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002198/1.487, allocations: 2.448 MB / 1.452 GB, free: 6.289 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.004075/1.491, allocations: 1.13 MB / 1.453 GB, free: 5.156 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002755/1.494, allocations: 1.44 MB / 1.454 GB, free: 3.719 MB / 1.186 GB Notification: Performance of SimCode: time 6.51e-07/1.494, allocations: 0 / 1.454 GB, free: 3.719 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1645/1.659, allocations: 70.58 MB / 1.523 GB, free: 13.61 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.87/18.53, allocations: 0 / 1.523 GB, free: 13.61 MB / 1.264 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)