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.0007141/0.000714, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.005757/0.005757, allocations: 176.2 kB / 16.27 MB, free: 6.613 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.499/1.499, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.012/1.012, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003682, allocations: 8 kB / 0.5077 GB, free: 4.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1647, allocations: 82.31 MB / 0.5881 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.5394/0.7042, allocations: 157.1 MB / 0.7415 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04196/0.7462, allocations: 26.58 MB / 0.7675 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006276/0.7526, allocations: 67.62 kB / 0.7675 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003631/0.7562, allocations: 0.9411 MB / 0.7684 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007501/0.7637, allocations: 1.594 MB / 0.77 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005689/0.7695, allocations: 1.59 MB / 0.7715 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009389/0.7789, allocations: 5.452 MB / 0.7769 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007566/0.7865, allocations: 3.686 MB / 0.7805 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004107/0.7906, allocations: 1.446 MB / 0.7819 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004705/0.7953, allocations: 2.026 MB / 0.7839 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001109/0.7965, allocations: 124 kB / 0.784 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003157/0.7996, allocations: 0.7217 MB / 0.7847 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001789/0.8015, allocations: 0.7973 MB / 0.7855 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004335/0.8058, allocations: 1.687 MB / 0.7871 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009538/0.8154, allocations: 5.691 MB / 0.7927 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.8154, allocations: 0 / 0.7927 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.239e-06/0.8154, allocations: 0 / 0.7927 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002804/0.8157, allocations: 3.938 kB / 0.7927 GB, free: 9.961 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: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.01199/0.8277, allocations: 4.016 MB / 0.7966 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/0.8278, allocations: 11.97 kB / 0.7966 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001824/0.8296, allocations: 484.5 kB / 0.7971 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01465/0.8443, allocations: 2.912 MB / 0.7999 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005239/0.8496, allocations: 2.377 MB / 0.8022 GB, free: 8 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002216/0.8498, allocations: 259 kB / 0.8025 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006309/0.8505, allocations: 340 kB / 0.8028 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01223/0.8627, allocations: 5.432 MB / 0.8081 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.494e-05/0.8628, allocations: 3.938 kB / 0.8081 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003671/0.8632, allocations: 144 kB / 0.8082 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.027e-05/0.8632, allocations: 84 kB / 0.8083 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01517/0.8784, allocations: 6.617 MB / 0.8148 GB, free: 3.062 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.02892/0.9073, allocations: 15.75 MB / 0.8302 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009181/0.9166, allocations: 4.092 MB / 0.8342 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005719/0.9223, allocations: 2.663 MB / 0.8368 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/0.9234, allocations: 0.6736 MB / 0.8374 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006297/0.9297, allocations: 2.573 MB / 0.8399 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=288): time 6.131e-06/0.9297, allocations: 0 / 0.8399 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of matching and sorting (n=288): time 0.02485/0.9546, allocations: 8.441 MB / 0.8482 GB, free: 15.95 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.9548, allocations: 210.2 kB / 0.8484 GB, free: 15.7 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004868/0.9597, allocations: 2.509 MB / 0.8508 GB, free: 13.17 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007953/0.9605, allocations: 73.7 kB / 0.8509 GB, free: 13.09 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002199/0.9627, allocations: 1.44 MB / 0.8523 GB, free: 11.63 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001913/0.9646, allocations: 0.9625 MB / 0.8532 GB, free: 10.66 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008351/0.9655, allocations: 198.8 kB / 0.8534 GB, free: 10.46 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.9657, allocations: 309.1 kB / 0.8537 GB, free: 10.15 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005807/0.9715, allocations: 2.046 MB / 0.8557 GB, free: 8.102 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006058/0.9776, allocations: 2.367 MB / 0.858 GB, free: 5.648 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/0.9887, allocations: 4.433 MB / 0.8624 GB, free: 1.129 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.808e-05/0.9888, allocations: 4 kB / 0.8624 GB, free: 1.125 MB / 0.67 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.4108/1.4, allocations: 5.273 MB / 0.8675 GB, free: 211.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/1.4, allocations: 6.469 kB / 0.8675 GB, free: 211.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/1.4, allocations: 7.438 kB / 0.8675 GB, free: 211.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/1.401, allocations: 0.5431 MB / 0.8681 GB, free: 211.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004279/1.405, allocations: 0.784 MB / 0.8688 GB, free: 211.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006563/1.412, allocations: 5.293 MB / 0.874 GB, free: 210.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004314/1.416, allocations: 0.5651 MB / 0.8746 GB, free: 210.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005003/1.417, allocations: 105.1 kB / 0.8747 GB, free: 210.1 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 (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.002067/1.419, allocations: 0.9715 MB / 0.8756 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006296/1.419, allocations: 288.4 kB / 0.8759 GB, free: 209.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/1.432, allocations: 5.91 MB / 0.8816 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/1.432, allocations: 27.62 kB / 0.8817 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/1.432, allocations: 7.266 kB / 0.8817 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-05/1.432, allocations: 20.02 kB / 0.8817 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01779/1.45, allocations: 9.906 MB / 0.8914 GB, free: 204.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/1.45, allocations: 0 / 0.8914 GB, free: 204.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003925/1.454, allocations: 0.7514 MB / 0.8921 GB, free: 204 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001503/1.455, allocations: 0.5238 MB / 0.8926 GB, free: 203.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004473/1.456, allocations: 81.92 kB / 0.8927 GB, free: 203.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007456/1.463, allocations: 6.958 MB / 0.8995 GB, free: 198.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.463, allocations: 3.938 kB / 0.8995 GB, free: 198.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01989/1.483, allocations: 8.411 MB / 0.9077 GB, free: 195.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002243/1.485, allocations: 0.8871 MB / 0.9086 GB, free: 195.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004765/1.486, allocations: 54.2 kB / 0.9086 GB, free: 195.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003232/1.489, allocations: 437.4 kB / 0.909 GB, free: 195.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005299/1.49, allocations: 189.5 kB / 0.9092 GB, free: 195.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002522/1.49, allocations: 101.8 kB / 0.9093 GB, free: 195.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002946/1.493, allocations: 1.83 MB / 0.9111 GB, free: 194.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.11e-07/1.493, allocations: 0 / 0.9111 GB, free: 194.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003545/1.496, allocations: 1.104 MB / 0.9122 GB, free: 194.4 MB / 0.67 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.02036/1.517, allocations: 9.919 MB / 0.9219 GB, free: 190.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01139/1.528, allocations: 5.074 MB / 0.9268 GB, free: 189.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.528, allocations: 0 / 0.9268 GB, free: 189.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005964/1.534, allocations: 2.962 MB / 0.9297 GB, free: 188.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003814/1.538, allocations: 0.6702 MB / 0.9304 GB, free: 187.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06077/1.599, allocations: 35.95 MB / 0.9655 GB, free: 155 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001776/1.601, allocations: 2.554 MB / 0.968 GB, free: 152.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004203/1.605, allocations: 1.124 MB / 0.9691 GB, free: 151.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002017/1.607, allocations: 1.518 MB / 0.9706 GB, free: 149.7 MB / 0.67 GB Notification: Performance of SimCode: time 7.41e-07/1.607, allocations: 3.938 kB / 0.9706 GB, free: 149.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4046/2.012, allocations: 70.97 MB / 1.04 GB, free: 79.33 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/2.012, allocations: 292.3 kB / 1.04 GB, free: 78.96 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.542/6.554, allocations: 0 / 1.04 GB, free: 78.96 MB / 0.67 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)