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.001301/0.001301, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001432/0.001432, allocations: 199.8 kB / 16.14 MB, free: 6.805 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.372/1.372, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7215/0.7215, allocations: 132.2 MB / 422.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.75 kB / 0.5012 GB, free: 9.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1957, allocations: 80.21 MB / 0.5795 GB, free: 9.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.6191/0.8148, allocations: 157.8 MB / 0.7336 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03638/0.8513, allocations: 26.44 MB / 0.7594 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004161/0.8555, allocations: 67.62 kB / 0.7595 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002639/0.8581, allocations: 0.8751 MB / 0.7603 GB, free: 10 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005523/0.8637, allocations: 1.457 MB / 0.7617 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00438/0.8681, allocations: 1.452 MB / 0.7632 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005913/0.874, allocations: 4.781 MB / 0.7678 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004774/0.8788, allocations: 3.689 MB / 0.7714 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002631/0.8815, allocations: 1.595 MB / 0.773 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00304/0.8845, allocations: 2.187 MB / 0.7751 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006434/0.8852, allocations: 228 kB / 0.7753 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00227/0.8875, allocations: 0.8233 MB / 0.7761 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008717/0.8883, allocations: 0.9029 MB / 0.777 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002155/0.8905, allocations: 1.717 MB / 0.7787 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006789/0.8973, allocations: 5.23 MB / 0.7838 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.403e-06/0.8973, allocations: 0 / 0.7838 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8974, allocations: 0 / 0.7838 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001434/0.8975, allocations: 0 / 0.7838 GB, free: 1.848 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.01007/0.9076, allocations: 4.315 MB / 0.788 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.9076, allocations: 8.031 kB / 0.788 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006038/0.9083, allocations: 430.2 kB / 0.7884 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01373/0.922, allocations: 2.757 MB / 0.7911 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004956/0.927, allocations: 2.188 MB / 0.7933 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.9272, allocations: 226.2 kB / 0.7935 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006077/0.9278, allocations: 300 kB / 0.7938 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01213/0.9399, allocations: 4.967 MB / 0.7986 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.178e-05/0.94, allocations: 3.938 kB / 0.7986 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000363/0.9404, allocations: 128 kB / 0.7987 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.917e-05/0.9405, allocations: 79.94 kB / 0.7988 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01453/0.955, allocations: 6.107 MB / 0.8048 GB, free: 12.12 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.02766/0.9827, allocations: 13.63 MB / 0.8181 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/0.9929, allocations: 4.355 MB / 0.8223 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005649/0.9986, allocations: 2.312 MB / 0.8246 GB, free: 7.379 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001241/0.9999, allocations: 0.6735 MB / 0.8253 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006031/1.006, allocations: 2.37 MB / 0.8276 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=257): time 5.411e-06/1.006, allocations: 3.938 kB / 0.8276 GB, free: 4.164 MB / 0.6387 GB Notification: Performance of matching and sorting (n=257): time 0.01809/1.024, allocations: 6.943 MB / 0.8344 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/1.024, allocations: 213.9 kB / 0.8346 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00471/1.029, allocations: 2.295 MB / 0.8368 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0006256/1.03, allocations: 73.69 kB / 0.8369 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0016/1.031, allocations: 1.305 MB / 0.8382 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001345/1.033, allocations: 0.8471 MB / 0.839 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001467/1.034, allocations: 464 kB / 0.8394 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001064/1.034, allocations: 305.1 kB / 0.8397 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004595/1.039, allocations: 1.874 MB / 0.8415 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005367/1.044, allocations: 2.18 MB / 0.8437 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009716/1.054, allocations: 4.037 MB / 0.8476 GB, free: 15.21 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/1.054, allocations: 0 / 0.8476 GB, free: 15.21 MB / 0.67 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01177/1.066, allocations: 4.643 MB / 0.8521 GB, free: 10.52 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/1.066, allocations: 11.98 kB / 0.8522 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/1.066, allocations: 8.156 kB / 0.8522 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006988/1.067, allocations: 236.5 kB / 0.8524 GB, free: 10.26 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003914/1.07, allocations: 0.7605 MB / 0.8531 GB, free: 9.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004272/1.075, allocations: 3.099 MB / 0.8562 GB, free: 6.27 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003967/1.079, allocations: 0.5285 MB / 0.8567 GB, free: 5.738 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006649/1.079, allocations: 103.9 kB / 0.8568 GB, free: 5.637 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 (264): * Single equations (assignments): 263 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002747/1.082, allocations: 0.8836 MB / 0.8576 GB, free: 4.742 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001045/1.083, allocations: 264.7 kB / 0.8579 GB, free: 4.48 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2987/1.382, allocations: 5.265 MB / 0.863 GB, free: 219.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.319e-05/1.382, allocations: 24.38 kB / 0.8631 GB, free: 219.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/1.382, allocations: 9.062 kB / 0.8631 GB, free: 219.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-05/1.382, allocations: 13.08 kB / 0.8631 GB, free: 219.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01617/1.398, allocations: 8.815 MB / 0.8717 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/1.398, allocations: 0 / 0.8717 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003403/1.402, allocations: 0.7223 MB / 0.8724 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007505/1.402, allocations: 268 kB / 0.8726 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002833/1.403, allocations: 77.34 kB / 0.8727 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003675/1.406, allocations: 4.794 MB / 0.8774 GB, free: 213.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.406, allocations: 0 / 0.8774 GB, free: 213.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01501/1.422, allocations: 7.525 MB / 0.8848 GB, free: 210.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001596/1.423, allocations: 0.7775 MB / 0.8855 GB, free: 210.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000515/1.424, allocations: 63.31 kB / 0.8856 GB, free: 210.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002801/1.426, allocations: 405.5 kB / 0.886 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003846/1.427, allocations: 165.2 kB / 0.8861 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002277/1.427, allocations: 95.09 kB / 0.8862 GB, free: 210.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002086/1.429, allocations: 1.687 MB / 0.8879 GB, free: 209.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.61e-07/1.429, allocations: 2.625 kB / 0.8879 GB, free: 209.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002843/1.432, allocations: 0.9635 MB / 0.8888 GB, free: 209.6 MB / 0.67 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 (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 {(2,16,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.01797/1.45, allocations: 9.002 MB / 0.8976 GB, free: 206.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01102/1.461, allocations: 4.544 MB / 0.902 GB, free: 205.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.461, allocations: 5.125 kB / 0.902 GB, free: 205.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005897/1.467, allocations: 2.607 MB / 0.9046 GB, free: 204.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003768/1.471, allocations: 0.5832 MB / 0.9051 GB, free: 204 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0758/1.547, allocations: 31.68 MB / 0.9361 GB, free: 188.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002122/1.549, allocations: 2.376 MB / 0.9384 GB, free: 187.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0041/1.553, allocations: 1.098 MB / 0.9395 GB, free: 186.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001955/1.555, allocations: 1.372 MB / 0.9408 GB, free: 185.1 MB / 0.67 GB Notification: Performance of SimCode: time 9.42e-07/1.555, allocations: 0 / 0.9408 GB, free: 185.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09265/1.648, allocations: 63.67 MB / 1.003 GB, free: 122 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/1.648, allocations: 290.9 kB / 1.003 GB, free: 121.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.775/5.423, allocations: 4 kB / 1.003 GB, free: 121.6 MB / 0.67 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/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)