Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.SimpleRoomThreeElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",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.006942/0.006941, allocations: 98.48 kB / 15.73 MB, free: 6.004 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.001567/0.001568, allocations: 192.9 kB / 16.67 MB, free: 5.934 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9026/0.9026, allocations: 135.6 MB / 426.1 MB, free: 3.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 69.58 kB / 0.5857 GB, free: 21.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.187, allocations: 81.02 MB / 0.6648 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.6416/0.8286, allocations: 161.7 MB / 0.8228 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04246/0.8712, allocations: 27.06 MB / 0.8492 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004586/0.8758, allocations: 76.5 kB / 0.8493 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002991/0.8788, allocations: 1.065 MB / 0.8503 GB, free: 13 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006229/0.8851, allocations: 1.746 MB / 0.852 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005903/0.891, allocations: 1.799 MB / 0.8538 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008146/0.8992, allocations: 5.22 MB / 0.8589 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007382/0.9066, allocations: 4.506 MB / 0.8633 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004998/0.9116, allocations: 2.131 MB / 0.8654 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004933/0.9166, allocations: 2.598 MB / 0.8679 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001468/0.9181, allocations: 487.9 kB / 0.8684 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003272/0.9214, allocations: 1.085 MB / 0.8694 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001573/0.923, allocations: 1.235 MB / 0.8706 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003601/0.9266, allocations: 2.188 MB / 0.8728 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.9367, allocations: 6.235 MB / 0.8789 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.9367, allocations: 4 kB / 0.8789 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.495e-06/0.9367, allocations: 0 / 0.8789 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002063/0.937, allocations: 0 / 0.8789 GB, free: 3.098 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.0133/0.9503, allocations: 4.877 MB / 0.8836 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.112e-05/0.9503, allocations: 13.11 kB / 0.8836 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009577/0.9513, allocations: 480.5 kB / 0.8841 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01433/0.9657, allocations: 2.817 MB / 0.8869 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005911/0.9716, allocations: 2.41 MB / 0.8892 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002269/0.9719, allocations: 258.9 kB / 0.8895 GB, free: 8.086 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007695/0.9726, allocations: 336 kB / 0.8898 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01342/0.9861, allocations: 5.389 MB / 0.895 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.721e-05/0.9862, allocations: 7.953 kB / 0.895 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004157/0.9866, allocations: 140 kB / 0.8952 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.754e-05/0.9867, allocations: 84 kB / 0.8953 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01734/1.004, allocations: 6.531 MB / 0.9016 GB, free: 11.53 MB / 0.67 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.03911/1.043, allocations: 15.64 MB / 0.9169 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/1.054, allocations: 4.084 MB / 0.9209 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006905/1.061, allocations: 2.655 MB / 0.9235 GB, free: 4.512 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001378/1.063, allocations: 0.6736 MB / 0.9241 GB, free: 3.707 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007264/1.07, allocations: 2.569 MB / 0.9267 GB, free: 1.098 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=288): time 5.62e-06/1.07, allocations: 0 / 0.9267 GB, free: 1.098 MB / 0.6856 GB Notification: Performance of matching and sorting (n=288): time 0.02754/1.098, allocations: 8.403 MB / 0.9349 GB, free: 8.578 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001812/1.098, allocations: 218.1 kB / 0.9351 GB, free: 8.32 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004683/1.103, allocations: 2.521 MB / 0.9375 GB, free: 5.777 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0006832/1.103, allocations: 73.7 kB / 0.9376 GB, free: 5.699 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001673/1.105, allocations: 1.466 MB / 0.939 GB, free: 4.219 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001619/1.107, allocations: 1.003 MB / 0.94 GB, free: 3.207 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00164/1.108, allocations: 0.4892 MB / 0.9405 GB, free: 2.711 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000158/1.108, allocations: 309.1 kB / 0.9408 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005508/1.114, allocations: 2.038 MB / 0.9428 GB, free: 372 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005955/1.12, allocations: 2.363 MB / 0.9451 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01146/1.131, allocations: 4.402 MB / 0.9494 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.581e-05/1.131, allocations: 4 kB / 0.9494 GB, free: 9.422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01496/1.146, allocations: 5.291 MB / 0.9546 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/1.146, allocations: 4.156 kB / 0.9546 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/1.146, allocations: 8 kB / 0.9546 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001408/1.148, allocations: 0.5452 MB / 0.9551 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004288/1.152, allocations: 0.7839 MB / 0.9559 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009839/1.162, allocations: 5.738 MB / 0.9615 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004289/1.166, allocations: 0.5505 MB / 0.962 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007449/1.167, allocations: 107.9 kB / 0.9621 GB, free: 12.2 MB / 0.7325 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 (274): * Single equations (assignments): 273 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002999/1.17, allocations: 0.971 MB / 0.9631 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001267/1.171, allocations: 310 kB / 0.9634 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01685/1.188, allocations: 5.885 MB / 0.9691 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.103e-05/1.188, allocations: 28 kB / 0.9691 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-05/1.188, allocations: 8 kB / 0.9691 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.675e-05/1.188, allocations: 19.83 kB / 0.9692 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02382/1.212, allocations: 9.898 MB / 0.9788 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/1.212, allocations: 0 / 0.9788 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004349/1.217, allocations: 0.7489 MB / 0.9795 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001671/1.218, allocations: 0.5254 MB / 0.9801 GB, free: 9.617 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004245/1.219, allocations: 79.94 kB / 0.9801 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009901/1.229, allocations: 7.567 MB / 0.9875 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.229, allocations: 0 / 0.9875 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02052/1.249, allocations: 8.423 MB / 0.9958 GB, free: 9.156 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002136/1.251, allocations: 0.8614 MB / 0.9966 GB, free: 8.273 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005225/1.252, allocations: 63.89 kB / 0.9967 GB, free: 8.211 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003036/1.255, allocations: 399.4 kB / 0.997 GB, free: 7.82 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004765/1.255, allocations: 186.1 kB / 0.9972 GB, free: 7.637 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002835/1.256, allocations: 107.9 kB / 0.9973 GB, free: 7.531 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002716/1.259, allocations: 1.834 MB / 0.9991 GB, free: 5.688 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.8e-07/1.259, allocations: 3.938 kB / 0.9991 GB, free: 5.684 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00302/1.262, allocations: 1.103 MB / 1 GB, free: 4.578 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (260): * Single equations (assignments): 253 * 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 {(4,36,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.02329/1.285, allocations: 9.916 MB / 1.01 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01354/1.298, allocations: 5.077 MB / 1.015 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/1.298, allocations: 4 kB / 1.015 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.007255/1.306, allocations: 2.947 MB / 1.018 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003747/1.31, allocations: 0.7241 MB / 1.018 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06592/1.375, allocations: 30.91 MB / 1.049 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003394/1.379, allocations: 2.551 MB / 1.051 GB, free: 308 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.004456/1.383, allocations: 1.126 MB / 1.052 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00311/1.387, allocations: 1.522 MB / 1.054 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of SimCode: time 1.052e-06/1.387, allocations: 0 / 1.054 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4748/1.861, allocations: 75.19 MB / 1.127 GB, free: 284.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.86/20.73, allocations: 8.266 kB / 1.127 GB, free: 284.4 MB / 0.8262 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)