Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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: "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",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.001056/0.001057, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.008635/0.008635, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.346/1.346, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.923/0.923, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003252, allocations: 12.72 kB / 0.5077 GB, free: 4.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1855, allocations: 82.31 MB / 0.5881 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.6047/0.7902, allocations: 158.4 MB / 0.7428 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04242/0.8327, allocations: 26.96 MB / 0.7691 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004756/0.8375, allocations: 79.56 kB / 0.7692 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003401/0.8409, allocations: 0.9954 MB / 0.7701 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007047/0.848, allocations: 1.706 MB / 0.7718 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005474/0.8535, allocations: 1.755 MB / 0.7735 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009488/0.863, allocations: 6.153 MB / 0.7795 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0084/0.8714, allocations: 3.979 MB / 0.7834 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004894/0.8764, allocations: 1.583 MB / 0.785 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005434/0.8819, allocations: 2.232 MB / 0.7871 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001324/0.8832, allocations: 140 kB / 0.7873 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003423/0.8867, allocations: 0.7412 MB / 0.788 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001818/0.8885, allocations: 0.8713 MB / 0.7889 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004241/0.8928, allocations: 1.861 MB / 0.7907 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.9031, allocations: 6.198 MB / 0.7967 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.9031, allocations: 7.938 kB / 0.7967 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.396e-06/0.9032, allocations: 0 / 0.7967 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003171/0.9035, allocations: 0 / 0.7967 GB, free: 5.844 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01346/0.917, allocations: 4.316 MB / 0.8009 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.497e-05/0.917, allocations: 8.031 kB / 0.801 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002084/0.9191, allocations: 0.5104 MB / 0.8015 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01531/0.9345, allocations: 2.951 MB / 0.8043 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007201/0.9417, allocations: 2.52 MB / 0.8068 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003567/0.9421, allocations: 279.5 kB / 0.8071 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001717/0.9438, allocations: 372 kB / 0.8074 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01874/0.9626, allocations: 5.771 MB / 0.813 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001605/0.9628, allocations: 3.984 kB / 0.8131 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001251/0.9641, allocations: 160 kB / 0.8132 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001276/0.9642, allocations: 95.94 kB / 0.8133 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0199/0.9841, allocations: 6.94 MB / 0.8201 GB, free: 13.7 MB / 0.6387 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.04212/1.026, allocations: 17.42 MB / 0.8371 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/1.038, allocations: 4.496 MB / 0.8415 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007328/1.045, allocations: 2.955 MB / 0.8444 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001226/1.047, allocations: 0.6777 MB / 0.845 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007678/1.054, allocations: 2.725 MB / 0.8477 GB, free: 500 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=315): time 8.355e-06/1.054, allocations: 3.984 kB / 0.8477 GB, free: 496 kB / 0.6544 GB Notification: Performance of matching and sorting (n=315): time 0.03023/1.085, allocations: 9.757 MB / 0.8572 GB, free: 6.594 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001622/1.085, allocations: 218.4 kB / 0.8574 GB, free: 6.336 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005424/1.09, allocations: 2.65 MB / 0.86 GB, free: 3.672 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007746/1.091, allocations: 81.7 kB / 0.8601 GB, free: 3.586 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001892/1.093, allocations: 1.55 MB / 0.8616 GB, free: 2.02 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001744/1.095, allocations: 1.043 MB / 0.8626 GB, free: 0.9609 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008148/1.096, allocations: 215.3 kB / 0.8628 GB, free: 0.7461 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.096, allocations: 313 kB / 0.8631 GB, free: 448 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3972/1.493, allocations: 2.161 MB / 0.8652 GB, free: 211.4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004994/1.498, allocations: 2.525 MB / 0.8677 GB, free: 211.1 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009184/1.507, allocations: 4.695 MB / 0.8723 GB, free: 210.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/1.507, allocations: 3.062 kB / 0.8723 GB, free: 210.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.0114/1.519, allocations: 5.762 MB / 0.8779 GB, free: 209.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/1.519, allocations: 9.5 kB / 0.8779 GB, free: 209.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/1.519, allocations: 3.031 kB / 0.8779 GB, free: 209.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001642/1.52, allocations: 0.8311 MB / 0.8787 GB, free: 209.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003604/1.524, allocations: 0.7977 MB / 0.8795 GB, free: 209.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008452/1.532, allocations: 7.007 MB / 0.8864 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004001/1.536, allocations: 0.5937 MB / 0.8869 GB, free: 205.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003457/1.537, allocations: 119.4 kB / 0.8871 GB, free: 205.2 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: 11 ($PRE.intGai.nextTimeEvent,$whenCondition1,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 (283): * Single equations (assignments): 282 * 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 {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001997/1.539, allocations: 1.029 MB / 0.8881 GB, free: 204.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006152/1.539, allocations: 307.7 kB / 0.8884 GB, free: 204.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01371/1.553, allocations: 6.387 MB / 0.8946 GB, free: 202.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-05/1.553, allocations: 30.28 kB / 0.8946 GB, free: 202.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.882e-05/1.553, allocations: 10.34 kB / 0.8946 GB, free: 202.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.848e-05/1.553, allocations: 19.48 kB / 0.8947 GB, free: 202.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02336/1.577, allocations: 10.74 MB / 0.9051 GB, free: 198.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/1.577, allocations: 0 / 0.9051 GB, free: 198.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004013/1.581, allocations: 0.7735 MB / 0.9059 GB, free: 198.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002052/1.583, allocations: 0.7316 MB / 0.9066 GB, free: 198.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003603/1.583, allocations: 86.38 kB / 0.9067 GB, free: 198.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01188/1.595, allocations: 9.814 MB / 0.9163 GB, free: 191.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.595, allocations: 0.7031 kB / 0.9163 GB, free: 191.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02257/1.618, allocations: 9.088 MB / 0.9252 GB, free: 187.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002655/1.62, allocations: 0.937 MB / 0.9261 GB, free: 187.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009865/1.621, allocations: 59.3 kB / 0.9261 GB, free: 187.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003971/1.625, allocations: 455.7 kB / 0.9266 GB, free: 187.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007368/1.626, allocations: 208.9 kB / 0.9268 GB, free: 187.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004121/1.627, allocations: 109.2 kB / 0.9269 GB, free: 187.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004103/1.631, allocations: 1.924 MB / 0.9287 GB, free: 186.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.81e-07/1.631, allocations: 0 / 0.9287 GB, free: 186.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004815/1.636, allocations: 1.223 MB / 0.9299 GB, free: 186.3 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.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 (270): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,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.02045/1.656, allocations: 10.61 MB / 0.9403 GB, free: 181.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01122/1.667, allocations: 5.481 MB / 0.9456 GB, free: 176.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/1.667, allocations: 0.6875 kB / 0.9457 GB, free: 176.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006135/1.673, allocations: 3.333 MB / 0.9489 GB, free: 173.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004657/1.678, allocations: 0.7213 MB / 0.9496 GB, free: 172.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06743/1.746, allocations: 39.11 MB / 0.9878 GB, free: 131.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002993/1.749, allocations: 2.699 MB / 0.9904 GB, free: 128.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004755/1.753, allocations: 1.165 MB / 0.9916 GB, free: 127.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002628/1.756, allocations: 1.639 MB / 0.9932 GB, free: 126.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.072e-06/1.756, allocations: 0 / 0.9932 GB, free: 126.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.918/2.674, allocations: 77.26 MB / 1.069 GB, free: 49.43 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/2.674, allocations: 295.8 kB / 1.069 GB, free: 49.04 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.906/7.58, allocations: 0 / 1.069 GB, free: 49.04 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)