Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001509/0.001509, allocations: 189.6 kB / 16.25 MB, free: 6.633 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.385/1.385, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9519/0.9519, allocations: 135.6 MB / 425.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 68.42 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1562, allocations: 81.03 MB / 0.5845 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.4166/0.5729, allocations: 158.5 MB / 0.7393 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03416/0.6071, allocations: 26.43 MB / 0.7651 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002984/0.6101, allocations: 75.56 kB / 0.7652 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002745/0.6129, allocations: 0.9062 MB / 0.7661 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007503/0.6204, allocations: 1.522 MB / 0.7676 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006865/0.6273, allocations: 1.53 MB / 0.7691 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007628/0.6349, allocations: 4.829 MB / 0.7738 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006871/0.6418, allocations: 4.282 MB / 0.778 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003859/0.6457, allocations: 2.017 MB / 0.7799 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003923/0.6496, allocations: 2.487 MB / 0.7824 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001245/0.6509, allocations: 448 kB / 0.7828 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002729/0.6536, allocations: 1.03 MB / 0.7838 GB, free: 180 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001661/0.6553, allocations: 1.18 MB / 0.7849 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003079/0.6584, allocations: 2.033 MB / 0.7869 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006529/0.6649, allocations: 5.698 MB / 0.7925 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6649, allocations: 0 / 0.7925 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.665, allocations: 0 / 0.7925 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001065/0.6651, allocations: 0 / 0.7925 GB, free: 7.234 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.00869/0.6738, allocations: 4.488 MB / 0.7969 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.6738, allocations: 8.031 kB / 0.7969 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01294/0.6868, allocations: 2.772 MB / 0.7996 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004243/0.691, allocations: 2.262 MB / 0.8018 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/0.6912, allocations: 238.5 kB / 0.802 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000555/0.6918, allocations: 323.9 kB / 0.8023 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01106/0.7029, allocations: 5.136 MB / 0.8074 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.284e-05/0.703, allocations: 3.938 kB / 0.8074 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003624/0.7033, allocations: 140 kB / 0.8075 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.53e-05/0.7034, allocations: 79.94 kB / 0.8076 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01384/0.7172, allocations: 6.284 MB / 0.8137 GB, free: 1.262 MB / 0.6231 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.02668/0.744, allocations: 14.51 MB / 0.8279 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01047/0.7545, allocations: 4.522 MB / 0.8323 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005225/0.7597, allocations: 2.454 MB / 0.8347 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/0.7608, allocations: 0.6697 MB / 0.8353 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005706/0.7665, allocations: 2.462 MB / 0.8377 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=270): time 5.01e-06/0.7665, allocations: 4 kB / 0.8377 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of matching and sorting (n=270): time 0.01871/0.7852, allocations: 7.528 MB / 0.8451 GB, free: 284 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/0.7854, allocations: 214 kB / 0.8453 GB, free: 24 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004047/0.7895, allocations: 2.389 MB / 0.8476 GB, free: 13.61 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003609/0.7899, allocations: 73.7 kB / 0.8477 GB, free: 13.53 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001531/0.7914, allocations: 1.353 MB / 0.849 GB, free: 12.16 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001149/0.7926, allocations: 0.8972 MB / 0.8499 GB, free: 11.25 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001333/0.7939, allocations: 0.4888 MB / 0.8504 GB, free: 10.75 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.794, allocations: 305.1 kB / 0.8507 GB, free: 10.45 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004935/0.799, allocations: 1.968 MB / 0.8526 GB, free: 8.477 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005145/0.8041, allocations: 2.277 MB / 0.8548 GB, free: 6.125 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01075/0.8149, allocations: 4.228 MB / 0.8589 GB, free: 1.809 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.466e-05/0.815, allocations: 4 kB / 0.8589 GB, free: 1.805 MB / 0.67 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.2781/1.093, allocations: 4.955 MB / 0.8638 GB, free: 215.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/1.093, allocations: 8.656 kB / 0.8638 GB, free: 215.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/1.093, allocations: 9.359 kB / 0.8638 GB, free: 215.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008014/1.094, allocations: 340.1 kB / 0.8641 GB, free: 215.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003713/1.098, allocations: 0.7829 MB / 0.8649 GB, free: 215.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00461/1.102, allocations: 4.256 MB / 0.8691 GB, free: 213 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003641/1.106, allocations: 0.5418 MB / 0.8696 GB, free: 212.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005357/1.107, allocations: 112.6 kB / 0.8697 GB, free: 212.9 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 277 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002169/1.109, allocations: 0.9227 MB / 0.8706 GB, free: 212.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009453/1.11, allocations: 276 kB / 0.8709 GB, free: 212.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/1.121, allocations: 5.547 MB / 0.8763 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/1.121, allocations: 30.72 kB / 0.8763 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/1.121, allocations: 2.875 kB / 0.8763 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.266e-05/1.121, allocations: 13.59 kB / 0.8763 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/1.137, allocations: 9.281 MB / 0.8854 GB, free: 207.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.607e-06/1.137, allocations: 3.312 kB / 0.8854 GB, free: 207.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003287/1.14, allocations: 0.7315 MB / 0.8861 GB, free: 207.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009318/1.141, allocations: 390.9 kB / 0.8865 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002551/1.141, allocations: 76.09 kB / 0.8865 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005243/1.147, allocations: 6.303 MB / 0.8927 GB, free: 202.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/1.147, allocations: 0 / 0.8927 GB, free: 202.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01697/1.164, allocations: 7.914 MB / 0.9004 GB, free: 199.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001862/1.166, allocations: 0.801 MB / 0.9012 GB, free: 199.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008401/1.167, allocations: 59.86 kB / 0.9013 GB, free: 199.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003423/1.17, allocations: 406.5 kB / 0.9016 GB, free: 199.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005254/1.17, allocations: 180.6 kB / 0.9018 GB, free: 199 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003191/1.171, allocations: 98.47 kB / 0.9019 GB, free: 199 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003354/1.174, allocations: 1.745 MB / 0.9036 GB, free: 198.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/1.174, allocations: 1.406 kB / 0.9036 GB, free: 198.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003322/1.178, allocations: 1.025 MB / 0.9046 GB, free: 198.2 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (254): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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 {(3,25,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.003834/1.181, allocations: 1.019 MB / 0.9056 GB, free: 197.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01983/1.201, allocations: 8.137 MB / 0.9136 GB, free: 196.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/1.201, allocations: 1.125 kB / 0.9136 GB, free: 196.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005976/1.207, allocations: 2.763 MB / 0.9163 GB, free: 195.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003632/1.211, allocations: 0.6709 MB / 0.9169 GB, free: 195.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/1.225, allocations: 9.347 MB / 0.926 GB, free: 190.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002478/1.228, allocations: 2.458 MB / 0.9284 GB, free: 189.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004433/1.232, allocations: 1.104 MB / 0.9295 GB, free: 189.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001364/1.234, allocations: 269.5 kB / 0.9298 GB, free: 189.1 MB / 0.67 GB Notification: Performance of SimCode: time 7.71e-07/1.234, allocations: 0 / 0.9298 GB, free: 189.1 MB / 0.67 GB Notification: Performance of Templates: time 0.05885/1.293, allocations: 45.82 MB / 0.9745 GB, free: 147 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)