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.001129/0.001129, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 191.8 kB / 16.53 MB, free: 6.664 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 / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9535/0.9535, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 56.75 kB / 0.5054 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1815, allocations: 80.93 MB / 0.5845 GB, free: 4.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.6358/0.8174, allocations: 163.1 MB / 0.7437 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04046/0.8579, allocations: 27.44 MB / 0.7705 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004998/0.8629, allocations: 83.62 kB / 0.7706 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003456/0.8665, allocations: 1.13 MB / 0.7717 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00732/0.8738, allocations: 1.885 MB / 0.7735 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006389/0.8802, allocations: 1.974 MB / 0.7755 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0103/0.8905, allocations: 5.834 MB / 0.7812 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009128/0.8997, allocations: 4.893 MB / 0.7859 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005765/0.9055, allocations: 2.301 MB / 0.7882 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005269/0.9108, allocations: 2.818 MB / 0.7909 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002464/0.9133, allocations: 0.5234 MB / 0.7915 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004662/0.918, allocations: 1.101 MB / 0.7925 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004307/0.9224, allocations: 1.371 MB / 0.7939 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.006591/0.929, allocations: 2.387 MB / 0.7962 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01367/0.9427, allocations: 6.649 MB / 0.8027 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.9428, allocations: 0 / 0.8027 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9428, allocations: 0 / 0.8027 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003274/0.9431, allocations: 0 / 0.8027 GB, free: 13.17 MB / 0.6231 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.0171/0.9602, allocations: 5.105 MB / 0.8077 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 7.423e-05/0.9603, allocations: 8.031 kB / 0.8077 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002855/0.9632, allocations: 0.5104 MB / 0.8082 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01575/0.9789, allocations: 2.838 MB / 0.811 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006837/0.9858, allocations: 2.492 MB / 0.8134 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003198/0.9862, allocations: 283.5 kB / 0.8137 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001559/0.9878, allocations: 376 kB / 0.814 GB, free: 1.406 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01747/1.005, allocations: 5.728 MB / 0.8196 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001916/1.006, allocations: 4 kB / 0.8196 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001344/1.007, allocations: 156 kB / 0.8198 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/1.007, allocations: 95.94 kB / 0.8199 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01883/1.026, allocations: 6.85 MB / 0.8265 GB, free: 4.508 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.03884/1.065, allocations: 17.39 MB / 0.8435 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01132/1.076, allocations: 4.497 MB / 0.8479 GB, free: 13.86 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006906/1.083, allocations: 2.947 MB / 0.8508 GB, free: 10.91 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/1.084, allocations: 0.6816 MB / 0.8515 GB, free: 10.09 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007313/1.092, allocations: 2.717 MB / 0.8541 GB, free: 7.34 MB / 0.67 GB Notification: Performance of pre-optimization done (n=315): time 9.568e-06/1.092, allocations: 112 / 0.8541 GB, free: 7.34 MB / 0.67 GB Notification: Performance of matching and sorting (n=315): time 0.4498/1.542, allocations: 9.696 MB / 0.8636 GB, free: 214.7 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.261e-05/1.542, allocations: 218.9 kB / 0.8638 GB, free: 214.4 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003388/1.545, allocations: 2.654 MB / 0.8664 GB, free: 213.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007678/1.546, allocations: 80.17 kB / 0.8665 GB, free: 213.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001172/1.547, allocations: 1.549 MB / 0.868 GB, free: 213 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001204/1.548, allocations: 1.045 MB / 0.869 GB, free: 212.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009306/1.549, allocations: 0.5297 MB / 0.8695 GB, free: 212 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.559e-05/1.549, allocations: 301.1 kB / 0.8698 GB, free: 211.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004477/1.554, allocations: 2.158 MB / 0.8719 GB, free: 211.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004995/1.559, allocations: 2.517 MB / 0.8744 GB, free: 210.2 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009938/1.569, allocations: 4.688 MB / 0.8789 GB, free: 208.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.646e-05/1.569, allocations: 3.375 kB / 0.8789 GB, free: 208.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01271/1.581, allocations: 5.744 MB / 0.8846 GB, free: 206.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/1.581, allocations: 11.81 kB / 0.8846 GB, free: 206.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/1.582, allocations: 2.625 kB / 0.8846 GB, free: 206.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/1.583, allocations: 0.8429 MB / 0.8854 GB, free: 206.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004062/1.587, allocations: 0.7942 MB / 0.8862 GB, free: 206.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/1.597, allocations: 7.565 MB / 0.8936 GB, free: 202.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004326/1.602, allocations: 0.5619 MB / 0.8941 GB, free: 202 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006238/1.602, allocations: 120.2 kB / 0.8942 GB, free: 202 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.002203/1.605, allocations: 1.024 MB / 0.8952 GB, free: 201.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000879/1.606, allocations: 312.6 kB / 0.8955 GB, free: 201.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01507/1.621, allocations: 6.379 MB / 0.9017 GB, free: 199.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.022e-05/1.621, allocations: 32.66 kB / 0.9018 GB, free: 199.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.957e-05/1.621, allocations: 13.08 kB / 0.9018 GB, free: 199.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.842e-05/1.621, allocations: 17 kB / 0.9018 GB, free: 199.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02587/1.647, allocations: 10.73 MB / 0.9123 GB, free: 195.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/1.647, allocations: 0 / 0.9123 GB, free: 195.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004367/1.651, allocations: 0.7671 MB / 0.913 GB, free: 195.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002122/1.653, allocations: 0.7437 MB / 0.9138 GB, free: 195 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006917/1.654, allocations: 87.47 kB / 0.9138 GB, free: 194.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01189/1.666, allocations: 10.67 MB / 0.9243 GB, free: 187.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.666, allocations: 0.7969 kB / 0.9243 GB, free: 187.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02039/1.686, allocations: 9.075 MB / 0.9331 GB, free: 184 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002018/1.688, allocations: 0.8932 MB / 0.934 GB, free: 183.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005649/1.689, allocations: 74.16 kB / 0.9341 GB, free: 183.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003053/1.692, allocations: 400 kB / 0.9344 GB, free: 183.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005581/1.693, allocations: 221.9 kB / 0.9347 GB, free: 183.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002324/1.693, allocations: 104.7 kB / 0.9348 GB, free: 183.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002408/1.695, allocations: 1.928 MB / 0.9366 GB, free: 182.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.31e-07/1.695, allocations: 0 / 0.9366 GB, free: 182.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003113/1.698, allocations: 1.216 MB / 0.9378 GB, free: 182.4 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.01915/1.718, allocations: 10.58 MB / 0.9482 GB, free: 173.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02056/1.738, allocations: 9.295 MB / 0.9572 GB, free: 164.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/1.738, allocations: 128 / 0.9572 GB, free: 164.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006158/1.744, allocations: 3.331 MB / 0.9605 GB, free: 161.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00361/1.748, allocations: 0.7696 MB / 0.9612 GB, free: 160.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06103/1.809, allocations: 37.4 MB / 0.9978 GB, free: 121.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001825/1.811, allocations: 2.702 MB / 1 GB, free: 118.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004273/1.815, allocations: 1.154 MB / 1.002 GB, free: 117.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002312/1.817, allocations: 1.639 MB / 1.003 GB, free: 115.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.182e-06/1.817, allocations: 0 / 1.003 GB, free: 115.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2714/2.089, allocations: 80.83 MB / 1.082 GB, free: 35.64 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.86/15.95, allocations: 11.62 kB / 1.082 GB, free: 35.64 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)