Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",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.001228/0.001229, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.00191/0.00191, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7594/0.7594, allocations: 132.3 MB / 423.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.0003984, allocations: 4 kB / 0.5035 GB, free: 4.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4759/0.4763, allocations: 81.58 MB / 0.5831 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1924/0.6687, allocations: 145.1 MB / 0.7249 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03539/0.7041, allocations: 24.74 MB / 0.749 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003056/0.7072, allocations: 63.62 kB / 0.7491 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001915/0.7092, allocations: 0.8361 MB / 0.7499 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004614/0.7138, allocations: 1.365 MB / 0.7512 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004296/0.7181, allocations: 1.178 MB / 0.7524 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006242/0.7244, allocations: 4.234 MB / 0.7565 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004604/0.729, allocations: 2.837 MB / 0.7593 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002441/0.7314, allocations: 1.28 MB / 0.7606 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002863/0.7343, allocations: 1.717 MB / 0.7622 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003844/0.7347, allocations: 100 kB / 0.7623 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.7367, allocations: 0.5892 MB / 0.7629 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007034/0.7374, allocations: 0.6807 MB / 0.7636 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008483/0.7382, allocations: 0.6013 MB / 0.7642 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004599/0.7428, allocations: 4.119 MB / 0.7682 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.7429, allocations: 0 / 0.7682 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.714e-06/0.7429, allocations: 0 / 0.7682 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001266/0.743, allocations: 4 kB / 0.7682 GB, free: 2.566 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.008021/0.751, allocations: 3.697 MB / 0.7718 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.7511, allocations: 12.03 kB / 0.7718 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008732/0.752, allocations: 438.2 kB / 0.7722 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01223/0.7642, allocations: 2.866 MB / 0.775 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00506/0.7693, allocations: 2.107 MB / 0.7771 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002216/0.7696, allocations: 238.1 kB / 0.7773 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007995/0.7704, allocations: 296 kB / 0.7776 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/0.7816, allocations: 4.987 MB / 0.7825 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.634e-05/0.7817, allocations: 4 kB / 0.7825 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003276/0.782, allocations: 124 kB / 0.7826 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.498e-05/0.7821, allocations: 76 kB / 0.7826 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01377/0.7959, allocations: 6.169 MB / 0.7887 GB, free: 13.34 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.02584/0.8217, allocations: 13.67 MB / 0.802 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009571/0.8313, allocations: 4.352 MB / 0.8063 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004936/0.8363, allocations: 2.323 MB / 0.8085 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009711/0.8373, allocations: 0.6617 MB / 0.8092 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005137/0.8425, allocations: 2.37 MB / 0.8115 GB, free: 5.344 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=257): time 6.042e-06/0.8425, allocations: 0 / 0.8115 GB, free: 5.344 MB / 0.6387 GB Notification: Performance of matching and sorting (n=257): time 0.3647/1.207, allocations: 6.929 MB / 0.8183 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/1.207, allocations: 211.8 kB / 0.8185 GB, free: 212.6 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003986/1.211, allocations: 2.287 MB / 0.8207 GB, free: 212 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0006577/1.212, allocations: 73.78 kB / 0.8208 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001277/1.213, allocations: 1.301 MB / 0.822 GB, free: 211.1 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001035/1.214, allocations: 0.851 MB / 0.8229 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/1.215, allocations: 46.06 kB / 0.8229 GB, free: 210.4 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001683/1.215, allocations: 394.7 kB / 0.8233 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00484/1.22, allocations: 1.871 MB / 0.8251 GB, free: 209.6 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004935/1.225, allocations: 2.178 MB / 0.8273 GB, free: 208.8 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004403/1.229, allocations: 2.018 MB / 0.8292 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/1.229, allocations: 1.625 kB / 0.8292 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01059/1.24, allocations: 4.655 MB / 0.8338 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/1.24, allocations: 6.312 kB / 0.8338 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/1.24, allocations: 3.969 kB / 0.8338 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006575/1.24, allocations: 225.9 kB / 0.834 GB, free: 206.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003444/1.244, allocations: 0.7633 MB / 0.8347 GB, free: 206.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003652/1.247, allocations: 3.088 MB / 0.8378 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003324/1.251, allocations: 0.5404 MB / 0.8383 GB, free: 204.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002782/1.251, allocations: 105 kB / 0.8384 GB, free: 204.1 MB / 0.6387 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 (264): * Single equations (assignments): 263 * 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.001942/1.253, allocations: 0.8831 MB / 0.8392 GB, free: 203.6 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005866/1.254, allocations: 260.7 kB / 0.8395 GB, free: 203.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/1.265, allocations: 5.288 MB / 0.8447 GB, free: 200.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-05/1.265, allocations: 27.48 kB / 0.8447 GB, free: 200.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/1.265, allocations: 3.969 kB / 0.8447 GB, free: 200.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.319e-05/1.265, allocations: 11.95 kB / 0.8447 GB, free: 200.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/1.279, allocations: 8.824 MB / 0.8533 GB, free: 195.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/1.279, allocations: 0 / 0.8533 GB, free: 195.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003054/1.282, allocations: 0.7289 MB / 0.854 GB, free: 195.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007025/1.283, allocations: 261.8 kB / 0.8543 GB, free: 195 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001854/1.283, allocations: 75.92 kB / 0.8544 GB, free: 194.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003646/1.287, allocations: 4.796 MB / 0.859 GB, free: 189.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.287, allocations: 4.031 kB / 0.859 GB, free: 189.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/1.3, allocations: 7.523 MB / 0.8664 GB, free: 182.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/1.301, allocations: 0.813 MB / 0.8672 GB, free: 181.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000348/1.301, allocations: 48 kB / 0.8672 GB, free: 181.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002324/1.304, allocations: 417.1 kB / 0.8676 GB, free: 180.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003013/1.304, allocations: 168.1 kB / 0.8678 GB, free: 180.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002011/1.304, allocations: 95.92 kB / 0.8679 GB, free: 180.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001946/1.306, allocations: 1.673 MB / 0.8695 GB, free: 179 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/1.306, allocations: 0 / 0.8695 GB, free: 179 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002544/1.309, allocations: 0.966 MB / 0.8704 GB, free: 178 MB / 0.6387 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 (251): * Single equations (assignments): 244 * 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.01477/1.324, allocations: 8.984 MB / 0.8792 GB, free: 169.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.008749/1.332, allocations: 4.534 MB / 0.8837 GB, free: 164.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/1.332, allocations: 0 / 0.8837 GB, free: 164.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004531/1.337, allocations: 2.605 MB / 0.8862 GB, free: 162.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002944/1.34, allocations: 0.5896 MB / 0.8868 GB, free: 161.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04049/1.38, allocations: 23.91 MB / 0.9101 GB, free: 136.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001558/1.382, allocations: 2.369 MB / 0.9124 GB, free: 134.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004245/1.386, allocations: 1.094 MB / 0.9135 GB, free: 133 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00199/1.388, allocations: 1.366 MB / 0.9148 GB, free: 131.6 MB / 0.6387 GB Notification: Performance of SimCode: time 8.42e-07/1.388, allocations: 0 / 0.9148 GB, free: 131.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09604/1.484, allocations: 65.47 MB / 0.9788 GB, free: 66.75 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/1.485, allocations: 264.4 kB / 0.979 GB, free: 66.39 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.579/5.064, allocations: 3.828 kB / 0.979 GB, free: 66.39 MB / 0.6387 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1) Environment - environmentSimulation: