Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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: translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006866/0.006867, allocations: 102 kB / 15.73 MB, free: 6.035 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.001276/0.001277, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.805/0.805, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 63.89 kB / 0.5813 GB, free: 7.598 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5115/0.5127, allocations: 80.2 MB / 0.6597 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1983/0.711, allocations: 160.8 MB / 0.8167 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0348/0.7458, allocations: 26.77 MB / 0.8428 GB, free: 10.04 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003677/0.7496, allocations: 75.56 kB / 0.8429 GB, free: 9.969 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00227/0.7519, allocations: 1.018 MB / 0.8439 GB, free: 8.945 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005082/0.757, allocations: 1.713 MB / 0.8455 GB, free: 7.23 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004071/0.7611, allocations: 1.694 MB / 0.8472 GB, free: 5.547 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005396/0.7665, allocations: 4.843 MB / 0.8519 GB, free: 0.6992 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004919/0.7714, allocations: 4.264 MB / 0.8561 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003115/0.7746, allocations: 2.04 MB / 0.8581 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003197/0.7778, allocations: 2.444 MB / 0.8605 GB, free: 7.867 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0009649/0.7788, allocations: 448 kB / 0.8609 GB, free: 7.43 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002595/0.7814, allocations: 1.05 MB / 0.8619 GB, free: 6.379 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009961/0.7824, allocations: 1.168 MB / 0.8631 GB, free: 5.207 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002211/0.7846, allocations: 2.037 MB / 0.865 GB, free: 3.16 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.4907/1.275, allocations: 5.794 MB / 0.8707 GB, free: 16.83 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/1.275, allocations: 0.75 kB / 0.8707 GB, free: 16.83 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.795e-06/1.275, allocations: 0.5156 kB / 0.8707 GB, free: 16.83 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001887/1.276, allocations: 0 / 0.8707 GB, free: 16.83 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01145/1.287, allocations: 4.495 MB / 0.8751 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/1.287, allocations: 10.44 kB / 0.8751 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0152/1.302, allocations: 2.762 MB / 0.8778 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005965/1.308, allocations: 2.292 MB / 0.88 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002206/1.309, allocations: 246.5 kB / 0.8803 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001257/1.31, allocations: 316.4 kB / 0.8806 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01519/1.325, allocations: 5.14 MB / 0.8856 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.777e-05/1.325, allocations: 5.531 kB / 0.8856 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004817/1.326, allocations: 132.9 kB / 0.8857 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-05/1.326, allocations: 79.83 kB / 0.8858 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01792/1.344, allocations: 6.286 MB / 0.8919 GB, free: 14.02 MB / 0.6856 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.02951/1.373, allocations: 14.42 MB / 0.906 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009781/1.383, allocations: 4.515 MB / 0.9104 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005309/1.388, allocations: 2.451 MB / 0.9128 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008541/1.389, allocations: 0.672 MB / 0.9135 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005795/1.395, allocations: 2.46 MB / 0.9159 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=270): time 5.23e-06/1.395, allocations: 0 / 0.9159 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of matching and sorting (n=270): time 0.01921/1.414, allocations: 7.543 MB / 0.9233 GB, free: 7.934 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.089e-05/1.414, allocations: 207.8 kB / 0.9234 GB, free: 7.711 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004239/1.419, allocations: 2.402 MB / 0.9258 GB, free: 7.121 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0007492/1.419, allocations: 72.55 kB / 0.9259 GB, free: 7.09 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001366/1.421, allocations: 1.35 MB / 0.9272 GB, free: 6.445 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001185/1.422, allocations: 0.8928 MB / 0.9281 GB, free: 5.793 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001532/1.423, allocations: 499.9 kB / 0.9285 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.154e-05/1.424, allocations: 303.1 kB / 0.9288 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00479/1.428, allocations: 1.973 MB / 0.9307 GB, free: 4.938 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00479/1.433, allocations: 2.272 MB / 0.933 GB, free: 4.242 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009391/1.443, allocations: 4.226 MB / 0.9371 GB, free: 3.246 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/1.443, allocations: 3.969 kB / 0.9371 GB, free: 3.246 MB / 0.6856 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01134/1.454, allocations: 4.961 MB / 0.9419 GB, free: 96 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/1.454, allocations: 9.406 kB / 0.9419 GB, free: 88 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/1.454, allocations: 7.984 kB / 0.942 GB, free: 80 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008941/1.455, allocations: 349.8 kB / 0.9423 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004226/1.459, allocations: 0.7857 MB / 0.9431 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005689/1.465, allocations: 4.25 MB / 0.9472 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004412/1.469, allocations: 0.5323 MB / 0.9477 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005299/1.47, allocations: 107.9 kB / 0.9478 GB, free: 10.31 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (278): * Single equations (assignments): 277 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002468/1.472, allocations: 0.9316 MB / 0.9487 GB, free: 9.398 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00118/1.473, allocations: 272.6 kB / 0.949 GB, free: 9.129 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01465/1.488, allocations: 5.536 MB / 0.9544 GB, free: 3.543 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.427e-05/1.488, allocations: 33.86 kB / 0.9544 GB, free: 3.512 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.269e-05/1.488, allocations: 4 kB / 0.9544 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.793e-05/1.488, allocations: 11.95 kB / 0.9545 GB, free: 3.496 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02397/1.512, allocations: 9.287 MB / 0.9635 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/1.512, allocations: 3.375 kB / 0.9635 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004076/1.516, allocations: 0.7259 MB / 0.9642 GB, free: 9.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/1.518, allocations: 391.5 kB / 0.9646 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000344/1.518, allocations: 77.14 kB / 0.9647 GB, free: 9.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007394/1.525, allocations: 6.292 MB / 0.9708 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.525, allocations: 0 / 0.9708 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01981/1.545, allocations: 7.926 MB / 0.9786 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002074/1.547, allocations: 0.8015 MB / 0.9794 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009143/1.548, allocations: 59.91 kB / 0.9794 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003562/1.552, allocations: 393.5 kB / 0.9798 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00052/1.552, allocations: 170 kB / 0.9799 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000426/1.553, allocations: 99.92 kB / 0.98 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003159/1.556, allocations: 1.75 MB / 0.9817 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.272e-06/1.556, allocations: 0 / 0.9817 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003616/1.56, allocations: 1.031 MB / 0.9828 GB, free: 6.113 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (254): * Single equations (assignments): 247 * 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 {(3,25,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.00274/1.562, allocations: 1.034 MB / 0.9838 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01214/1.575, allocations: 4.803 MB / 0.9885 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.932e-06/1.575, allocations: 0 / 0.9885 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006771/1.581, allocations: 2.761 MB / 0.9912 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00393/1.585, allocations: 0.6787 MB / 0.9918 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/1.602, allocations: 7.804 MB / 0.9994 GB, free: 5.543 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003224/1.605, allocations: 2.46 MB / 1.002 GB, free: 3.051 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.007493/1.613, allocations: 1.096 MB / 1.003 GB, free: 1.953 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002376/1.615, allocations: 264.3 kB / 1.003 GB, free: 1.695 MB / 0.7481 GB Notification: Performance of SimCode: time 1.072e-06/1.615, allocations: 0 / 1.003 GB, free: 1.695 MB / 0.7481 GB Notification: Performance of Templates: time 0.1171/1.732, allocations: 46.78 MB / 1.049 GB, free: 3.438 MB / 0.795 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)