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: translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001374, allocations: 107.7 kB / 16.36 MB, free: 5.824 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.001499/0.001499, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7873/0.7873, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 55.91 kB / 0.5067 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3983, allocations: 80.91 MB / 0.5857 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1636/0.5619, allocations: 163.1 MB / 0.745 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4154/0.9774, allocations: 27.43 MB / 0.7718 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005573/0.983, allocations: 85.28 kB / 0.7719 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004031/0.9872, allocations: 1.13 MB / 0.773 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008137/0.9953, allocations: 1.897 MB / 0.7748 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006649/1.002, allocations: 1.975 MB / 0.7768 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01019/1.012, allocations: 5.858 MB / 0.7825 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008593/1.021, allocations: 4.889 MB / 0.7873 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005534/1.026, allocations: 2.308 MB / 0.7895 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00504/1.031, allocations: 2.83 MB / 0.7923 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002035/1.034, allocations: 0.5201 MB / 0.7928 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004364/1.038, allocations: 1.134 MB / 0.7939 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001909/1.04, allocations: 1.36 MB / 0.7952 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004416/1.044, allocations: 2.389 MB / 0.7976 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008918/1.053, allocations: 6.75 MB / 0.8042 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.053, allocations: 0 / 0.8042 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.034e-06/1.053, allocations: 0 / 0.8042 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002557/1.054, allocations: 4 kB / 0.8042 GB, free: 14.8 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01451/1.068, allocations: 5.106 MB / 0.8091 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/1.068, allocations: 11.23 kB / 0.8092 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0136/1.082, allocations: 2.836 MB / 0.8119 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007248/1.089, allocations: 2.536 MB / 0.8144 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003229/1.089, allocations: 281.6 kB / 0.8147 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001672/1.091, allocations: 373.8 kB / 0.815 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0141/1.105, allocations: 5.722 MB / 0.8206 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.905e-05/1.105, allocations: 5.906 kB / 0.8206 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004329/1.106, allocations: 157.9 kB / 0.8208 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.873e-05/1.106, allocations: 93.03 kB / 0.8209 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01681/1.123, allocations: 6.859 MB / 0.8276 GB, free: 1.57 MB / 0.5919 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.03437/1.157, allocations: 17.25 MB / 0.8444 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/1.167, allocations: 4.479 MB / 0.8488 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006327/1.174, allocations: 2.95 MB / 0.8517 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/1.175, allocations: 0.6783 MB / 0.8523 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006559/1.181, allocations: 2.729 MB / 0.855 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=315): time 6.542e-06/1.181, allocations: 4 kB / 0.855 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=315): time 0.02604/1.207, allocations: 9.687 MB / 0.8645 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/1.208, allocations: 218.4 kB / 0.8647 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004045/1.212, allocations: 2.662 MB / 0.8673 GB, free: 8.215 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0008603/1.213, allocations: 81.7 kB / 0.8673 GB, free: 8.129 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001472/1.214, allocations: 1.537 MB / 0.8688 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001555/1.216, allocations: 1.052 MB / 0.8699 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/1.217, allocations: 0.5369 MB / 0.8704 GB, free: 4.992 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001112/1.217, allocations: 301.1 kB / 0.8707 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004777/1.222, allocations: 2.187 MB / 0.8728 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005507/1.227, allocations: 2.523 MB / 0.8753 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01092/1.238, allocations: 4.704 MB / 0.8799 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.484e-05/1.238, allocations: 0 / 0.8799 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01472/1.253, allocations: 5.81 MB / 0.8855 GB, free: 5.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/1.253, allocations: 10.34 kB / 0.8856 GB, free: 5.332 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/1.253, allocations: 4 kB / 0.8856 GB, free: 5.328 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001809/1.255, allocations: 0.8388 MB / 0.8864 GB, free: 4.484 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0046/1.259, allocations: 0.808 MB / 0.8872 GB, free: 3.703 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/1.27, allocations: 7.554 MB / 0.8945 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004886/1.275, allocations: 0.5633 MB / 0.8951 GB, free: 11.47 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001466/1.277, allocations: 119.9 kB / 0.8952 GB, free: 11.35 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: 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 (291): * Single equations (assignments): 290 * 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.005281/1.282, allocations: 1.033 MB / 0.8962 GB, free: 10.34 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001377/1.283, allocations: 312.2 kB / 0.8965 GB, free: 10.03 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01452/1.298, allocations: 6.379 MB / 0.9027 GB, free: 3.617 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.4e-05/1.298, allocations: 32 kB / 0.9028 GB, free: 3.586 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/1.298, allocations: 8 kB / 0.9028 GB, free: 3.578 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.211e-05/1.298, allocations: 15.94 kB / 0.9028 GB, free: 3.562 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0205/1.318, allocations: 10.73 MB / 0.9133 GB, free: 8.816 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/1.318, allocations: 0 / 0.9133 GB, free: 8.816 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003926/1.322, allocations: 0.7659 MB / 0.914 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001904/1.324, allocations: 0.7363 MB / 0.9147 GB, free: 7.328 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000458/1.325, allocations: 83.94 kB / 0.9148 GB, free: 7.246 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0119/1.337, allocations: 10.67 MB / 0.9252 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.337, allocations: 0 / 0.9252 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01847/1.355, allocations: 9.082 MB / 0.9341 GB, free: 3.047 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002449/1.358, allocations: 0.8908 MB / 0.935 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005734/1.358, allocations: 75.92 kB / 0.9351 GB, free: 2.059 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002891/1.361, allocations: 399.4 kB / 0.9354 GB, free: 1.668 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004747/1.362, allocations: 214.3 kB / 0.9356 GB, free: 1.457 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002666/1.362, allocations: 103.9 kB / 0.9357 GB, free: 1.355 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002544/1.364, allocations: 1.931 MB / 0.9376 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.91e-07/1.364, allocations: 0 / 0.9376 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003241/1.368, allocations: 1.235 MB / 0.9388 GB, free: 14.18 MB / 0.7169 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.00234/1.37, allocations: 1.036 MB / 0.9398 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01081/1.381, allocations: 5.515 MB / 0.9452 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.381, allocations: 0 / 0.9452 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005939/1.387, allocations: 3.328 MB / 0.9485 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003421/1.39, allocations: 0.7665 MB / 0.9492 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/1.406, allocations: 8.915 MB / 0.9579 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002268/1.408, allocations: 2.691 MB / 0.9606 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003859/1.412, allocations: 1.158 MB / 0.9617 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/1.413, allocations: 283.2 kB / 0.962 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of SimCode: time 8.92e-07/1.413, allocations: 0 / 0.962 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of Templates: time 0.08705/1.5, allocations: 54.64 MB / 1.015 GB, free: 0.7812 MB / 0.7794 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (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 & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)