Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="Buildings_11_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.004515/0.004515, allocations: 96.62 kB / 15.73 MB, free: 6.043 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.00135/0.00135, allocations: 195.6 kB / 16.68 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.564/2.564, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 63.91 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2504, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.6414/0.8918, allocations: 162 MB / 1.378 GB, free: 6.719 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03283/0.9247, allocations: 26.95 MB / 1.405 GB, free: 1.031 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00256/0.9273, allocations: 75.22 kB / 1.405 GB, free: 1.004 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001894/0.9292, allocations: 1.045 MB / 1.406 GB, free: 260 kB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004377/0.9336, allocations: 1.782 MB / 1.407 GB, free: 14.9 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003708/0.9373, allocations: 1.734 MB / 1.409 GB, free: 13.53 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005777/0.9431, allocations: 5.299 MB / 1.414 GB, free: 10.32 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004391/0.9475, allocations: 4.171 MB / 1.418 GB, free: 7.766 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002876/0.9504, allocations: 2.104 MB / 1.42 GB, free: 6.566 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002684/0.9531, allocations: 2.519 MB / 1.423 GB, free: 4.973 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0005267/0.9536, allocations: 457.1 kB / 1.423 GB, free: 4.973 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001971/0.9556, allocations: 1.072 MB / 1.424 GB, free: 4.215 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.9567, allocations: 1.169 MB / 1.426 GB, free: 3.043 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002213/0.9589, allocations: 2.13 MB / 1.428 GB, free: 0.9023 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.006228/0.9651, allocations: 5.994 MB / 1.433 GB, free: 10.89 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.9651, allocations: 0 / 1.433 GB, free: 10.89 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9651, allocations: 0 / 1.433 GB, free: 10.89 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.154e-05/0.9652, allocations: 0 / 1.433 GB, free: 10.89 MB / 1.123 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.008381/0.9736, allocations: 4.751 MB / 1.438 GB, free: 6.035 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.9736, allocations: 8.031 kB / 1.438 GB, free: 6.027 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005331/0.9742, allocations: 447 kB / 1.439 GB, free: 5.578 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0123/0.9865, allocations: 2.802 MB / 1.441 GB, free: 2.77 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003812/0.9903, allocations: 2.343 MB / 1.444 GB, free: 360 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.9905, allocations: 238.4 kB / 1.444 GB, free: 120 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000482/0.991, allocations: 312 kB / 1.444 GB, free: 15.81 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009997/1.001, allocations: 5.166 MB / 1.449 GB, free: 10.57 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.536e-05/1.001, allocations: 0 / 1.449 GB, free: 10.57 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003372/1.001, allocations: 128 kB / 1.449 GB, free: 10.44 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.922e-05/1.001, allocations: 91.91 kB / 1.449 GB, free: 10.35 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01353/1.015, allocations: 6.287 MB / 1.456 GB, free: 4.051 MB / 1.139 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.02283/1.038, allocations: 14.82 MB / 1.47 GB, free: 4.605 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00995/1.048, allocations: 4.695 MB / 1.475 GB, free: 15.89 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004971/1.053, allocations: 2.44 MB / 1.477 GB, free: 13.45 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009005/1.054, allocations: 0.6774 MB / 1.478 GB, free: 12.64 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005362/1.059, allocations: 2.631 MB / 1.48 GB, free: 9.969 MB / 1.17 GB Notification: Performance of pre-optimization done (n=278): time 4.027e-06/1.059, allocations: 0 / 1.48 GB, free: 9.969 MB / 1.17 GB Notification: Performance of matching and sorting (n=278): time 0.01703/1.076, allocations: 7.417 MB / 1.487 GB, free: 2.434 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/1.076, allocations: 214.1 kB / 1.488 GB, free: 2.18 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00312/1.079, allocations: 2.442 MB / 1.49 GB, free: 15.71 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.000225/1.08, allocations: 81.69 kB / 1.49 GB, free: 15.62 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001224/1.081, allocations: 1.356 MB / 1.491 GB, free: 14.25 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008632/1.082, allocations: 0.9567 MB / 1.492 GB, free: 13.29 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008972/1.083, allocations: 0.4891 MB / 1.493 GB, free: 12.79 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.083, allocations: 301.1 kB / 1.493 GB, free: 12.5 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004479/1.087, allocations: 2.007 MB / 1.495 GB, free: 10.48 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004837/1.092, allocations: 2.343 MB / 1.497 GB, free: 8.055 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009322/1.101, allocations: 4.248 MB / 1.502 GB, free: 3.719 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/1.102, allocations: 4 kB / 1.502 GB, free: 3.715 MB / 1.186 GB Notification: Performance of matching and sorting (n=314) (initialization): time 0.01097/1.112, allocations: 4.954 MB / 1.506 GB, free: 14.71 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/1.113, allocations: 7.984 kB / 1.506 GB, free: 14.7 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/1.113, allocations: 4 kB / 1.506 GB, free: 14.7 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005896/1.113, allocations: 242.6 kB / 1.507 GB, free: 14.46 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003632/1.117, allocations: 0.7995 MB / 1.507 GB, free: 13.66 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004111/1.121, allocations: 3.375 MB / 1.511 GB, free: 10.15 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003184/1.124, allocations: 0.5643 MB / 1.511 GB, free: 9.582 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002648/1.124, allocations: 111.9 kB / 1.511 GB, free: 9.473 MB / 1.201 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.001666/1.126, allocations: 0.946 MB / 1.512 GB, free: 8.516 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000528/1.127, allocations: 290.2 kB / 1.513 GB, free: 8.23 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/1.139, allocations: 5.631 MB / 1.518 GB, free: 2.539 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/1.139, allocations: 28 kB / 1.518 GB, free: 2.512 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.139, allocations: 4 kB / 1.518 GB, free: 2.508 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.162e-05/1.139, allocations: 11.95 kB / 1.518 GB, free: 2.496 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004663/1.144, allocations: 3.704 MB / 1.522 GB, free: 14.73 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/1.144, allocations: 0 / 1.522 GB, free: 14.73 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003373/1.147, allocations: 0.7371 MB / 1.522 GB, free: 14 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007329/1.148, allocations: 274.2 kB / 1.523 GB, free: 13.72 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002233/1.148, allocations: 83.92 kB / 1.523 GB, free: 13.64 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005186/1.153, allocations: 5.231 MB / 1.528 GB, free: 8.105 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.153, allocations: 3.938 kB / 1.528 GB, free: 8.102 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01633/1.17, allocations: 8.043 MB / 1.536 GB, free: 15.96 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/1.171, allocations: 0.8497 MB / 1.537 GB, free: 15.1 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004196/1.172, allocations: 71.88 kB / 1.537 GB, free: 15.03 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002793/1.174, allocations: 417.4 kB / 1.537 GB, free: 14.62 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004144/1.175, allocations: 206 kB / 1.537 GB, free: 14.42 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002436/1.175, allocations: 107.9 kB / 1.537 GB, free: 14.31 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002374/1.177, allocations: 1.777 MB / 1.539 GB, free: 12.52 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.4e-07/1.177, allocations: 4 kB / 1.539 GB, free: 12.52 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002339/1.18, allocations: 1.072 MB / 1.54 GB, free: 11.45 MB / 1.232 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.01991/1.2, allocations: 9.554 MB / 1.549 GB, free: 2.137 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01077/1.21, allocations: 4.874 MB / 1.554 GB, free: 13.22 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.21, allocations: 0 / 1.554 GB, free: 13.22 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.005615/1.216, allocations: 2.781 MB / 1.557 GB, free: 10.41 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002821/1.219, allocations: 0.7029 MB / 1.558 GB, free: 9.742 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05168/1.271, allocations: 29.25 MB / 1.586 GB, free: 12.13 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002205/1.273, allocations: 2.456 MB / 1.589 GB, free: 9.645 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.003339/1.276, allocations: 1.139 MB / 1.59 GB, free: 8.504 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002241/1.278, allocations: 1.44 MB / 1.591 GB, free: 7.066 MB / 1.279 GB Notification: Performance of SimCode: time 6.71e-07/1.278, allocations: 0 / 1.591 GB, free: 7.066 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.274/3.553, allocations: 71.63 MB / 1.661 GB, free: 15.88 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.8/34.35, allocations: 14.41 kB / 1.661 GB, free: 15.86 MB / 1.357 GB (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)