Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8_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.001028/0.001028, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001023/0.001024, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.656/1.656, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000538/0.000538, allocations: 11.91 kB / 0.6735 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2685, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.75/1.019, allocations: 135.4 MB / 0.9193 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03554/1.054, allocations: 22.17 MB / 0.941 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005333/1.06, allocations: 57.97 kB / 0.941 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004547/1.064, allocations: 0.9417 MB / 0.942 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01239/1.077, allocations: 2.025 MB / 0.9439 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008794/1.085, allocations: 1.583 MB / 0.9455 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01224/1.098, allocations: 2.697 MB / 0.9481 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005637/1.103, allocations: 2.749 MB / 0.9508 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003692/1.107, allocations: 1.233 MB / 0.952 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004018/1.111, allocations: 1.524 MB / 0.9535 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006181/1.112, allocations: 98.34 kB / 0.9536 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003122/1.115, allocations: 0.5156 MB / 0.9541 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007656/1.116, allocations: 0.6549 MB / 0.9547 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001524/1.117, allocations: 0.5965 MB / 0.9553 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006004/1.123, allocations: 4.018 MB / 0.9592 GB, free: 20.92 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.123, allocations: 0 / 0.9592 GB, free: 20.92 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.428e-06/1.123, allocations: 0 / 0.9592 GB, free: 20.92 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002137/1.123, allocations: 2.906 kB / 0.9592 GB, free: 20.92 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 768 * Number of variables: 768 Notification: Performance of Generate backend data structure: time 0.01164/1.135, allocations: 3.64 MB / 0.9628 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/1.135, allocations: 8.844 kB / 0.9628 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01381/1.149, allocations: 2.683 MB / 0.9654 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006572/1.156, allocations: 2.057 MB / 0.9674 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002516/1.156, allocations: 223.6 kB / 0.9676 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001389/1.157, allocations: 292 kB / 0.9679 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0131/1.17, allocations: 4.789 MB / 0.9726 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.674e-05/1.171, allocations: 3.094 kB / 0.9726 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004381/1.171, allocations: 121.4 kB / 0.9727 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.357e-05/1.171, allocations: 74.22 kB / 0.9728 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01513/1.186, allocations: 5.913 MB / 0.9786 GB, free: 14.27 MB / 0.7325 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.03416/1.22, allocations: 13.4 MB / 0.9916 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01217/1.233, allocations: 4.417 MB / 0.996 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001472/1.234, allocations: 0.6622 MB / 0.9966 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007141/1.241, allocations: 2.263 MB / 0.9988 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=255): time 6.833e-06/1.241, allocations: 4 kB / 0.9988 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of matching and sorting (n=255): time 0.02027/1.262, allocations: 6.668 MB / 1.005 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001905/1.262, allocations: 209.9 kB / 1.006 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005257/1.267, allocations: 2.289 MB / 1.008 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0007431/1.268, allocations: 69.33 kB / 1.008 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001437/1.269, allocations: 1.284 MB / 1.009 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001497/1.271, allocations: 0.8419 MB / 1.01 GB, free: 15 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004164/1.271, allocations: 42.75 kB / 1.01 GB, free: 15 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002581/1.272, allocations: 394.4 kB / 1.01 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004854/1.277, allocations: 1.787 MB / 1.012 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005391/1.282, allocations: 2.08 MB / 1.014 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005002/1.287, allocations: 1.932 MB / 1.016 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/1.287, allocations: 0 / 1.016 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01269/1.3, allocations: 4.474 MB / 1.02 GB, free: 7.004 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.625e-05/1.3, allocations: 8 kB / 1.02 GB, free: 6.996 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/1.3, allocations: 4.406 kB / 1.02 GB, free: 6.992 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007313/1.301, allocations: 227.5 kB / 1.021 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004196/1.305, allocations: 0.7631 MB / 1.021 GB, free: 6.098 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004727/1.31, allocations: 3.178 MB / 1.024 GB, free: 3.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004578/1.314, allocations: 0.4966 MB / 1.025 GB, free: 3.129 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009891/1.315, allocations: 102.1 kB / 1.025 GB, free: 3.047 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (262): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003881/1.319, allocations: 0.8788 MB / 1.026 GB, free: 2.461 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001343/1.32, allocations: 257.9 kB / 1.026 GB, free: 2.207 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01458/1.335, allocations: 5.081 MB / 1.031 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.798e-05/1.335, allocations: 28 kB / 1.031 GB, free: 14.44 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.807e-05/1.335, allocations: 4 kB / 1.031 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.343e-05/1.335, allocations: 14.58 kB / 1.031 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02022/1.355, allocations: 8.577 MB / 1.04 GB, free: 8.238 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/1.355, allocations: 4 kB / 1.04 GB, free: 8.234 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003717/1.359, allocations: 0.7163 MB / 1.04 GB, free: 7.555 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008582/1.36, allocations: 265.9 kB / 1.04 GB, free: 7.344 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003807/1.36, allocations: 73.33 kB / 1.041 GB, free: 7.305 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004949/1.365, allocations: 4.871 MB / 1.045 GB, free: 2.938 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.365, allocations: 2.531 kB / 1.045 GB, free: 2.938 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01734/1.383, allocations: 7.213 MB / 1.052 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002856/1.386, allocations: 0.8132 MB / 1.053 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001107/1.387, allocations: 44 kB / 1.053 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003552/1.39, allocations: 385.2 kB / 1.054 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005488/1.391, allocations: 169.9 kB / 1.054 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003605/1.391, allocations: 87.94 kB / 1.054 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003881/1.395, allocations: 1.676 MB / 1.055 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of sort global known variables: time 6.32e-07/1.395, allocations: 0 / 1.055 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004628/1.4, allocations: 0.9465 MB / 1.056 GB, free: 8.039 MB / 0.7794 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: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 241 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002891/1.403, allocations: 0.9823 MB / 1.057 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01119/1.414, allocations: 4.348 MB / 1.062 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.414, allocations: 4 kB / 1.062 GB, free: 3.078 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.005756/1.42, allocations: 2.505 MB / 1.064 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003361/1.423, allocations: 0.5348 MB / 1.065 GB, free: 60 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/1.44, allocations: 8.604 MB / 1.073 GB, free: 7.414 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002999/1.443, allocations: 2.412 MB / 1.075 GB, free: 4.969 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.005683/1.449, allocations: 1.093 MB / 1.076 GB, free: 3.879 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001764/1.451, allocations: 255.2 kB / 1.077 GB, free: 3.629 MB / 0.795 GB Notification: Performance of SimCode: time 1.293e-06/1.451, allocations: 0 / 1.077 GB, free: 3.629 MB / 0.795 GB Notification: Performance of Templates: time 0.07179/1.523, allocations: 39.78 MB / 1.115 GB, free: 12.26 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1) Environment - environmentSimulation: