Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") 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: 100.2 kB / 16.35 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.001203/0.001203, allocations: 196.6 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.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7641/0.7641, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 67.89 kB / 0.5067 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3563, allocations: 80.91 MB / 0.5857 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1594/0.5157, allocations: 161.7 MB / 0.7437 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3826/0.8983, allocations: 27.02 MB / 0.7701 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003891/0.9023, allocations: 79.66 kB / 0.7702 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003337/0.9057, allocations: 1.068 MB / 0.7712 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006872/0.9126, allocations: 1.753 MB / 0.7729 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0046/0.9172, allocations: 1.798 MB / 0.7747 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006427/0.9237, allocations: 5.226 MB / 0.7798 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005665/0.9293, allocations: 4.515 MB / 0.7842 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00376/0.9331, allocations: 2.123 MB / 0.7863 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003516/0.9367, allocations: 2.595 MB / 0.7888 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0009935/0.9377, allocations: 486.6 kB / 0.7893 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002275/0.9399, allocations: 1.086 MB / 0.7903 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008198/0.9408, allocations: 1.25 MB / 0.7915 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00189/0.9427, allocations: 2.177 MB / 0.7937 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005961/0.9486, allocations: 6.206 MB / 0.7997 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.9487, allocations: 0.75 kB / 0.7997 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9487, allocations: 1.5 kB / 0.7997 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001516/0.9488, allocations: 4 kB / 0.7997 GB, free: 15.12 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: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.01007/0.9589, allocations: 4.754 MB / 0.8044 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.959, allocations: 11.17 kB / 0.8044 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01234/0.9713, allocations: 2.787 MB / 0.8071 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004675/0.976, allocations: 2.396 MB / 0.8094 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.9762, allocations: 261.3 kB / 0.8097 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005006/0.9767, allocations: 340.2 kB / 0.81 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/0.9867, allocations: 5.39 MB / 0.8153 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.849e-05/0.9868, allocations: 0 / 0.8153 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003527/0.9872, allocations: 146.3 kB / 0.8154 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.663e-05/0.9872, allocations: 85.19 kB / 0.8155 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01303/1, allocations: 6.533 MB / 0.8219 GB, free: 6.156 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.02563/1.026, allocations: 15.59 MB / 0.8371 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007983/1.034, allocations: 4.086 MB / 0.8411 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005002/1.039, allocations: 2.655 MB / 0.8437 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009034/1.04, allocations: 0.6749 MB / 0.8444 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005107/1.045, allocations: 2.569 MB / 0.8469 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=288): time 5.731e-06/1.045, allocations: 4.047 kB / 0.8469 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=288): time 0.01937/1.064, allocations: 8.4 MB / 0.8551 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/1.065, allocations: 210.2 kB / 0.8553 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003364/1.068, allocations: 2.517 MB / 0.8577 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003382/1.068, allocations: 73.7 kB / 0.8578 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001188/1.069, allocations: 1.43 MB / 0.8592 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008789/1.07, allocations: 0.9591 MB / 0.8601 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009261/1.071, allocations: 0.5127 MB / 0.8606 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.842e-05/1.071, allocations: 301.1 kB / 0.8609 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004382/1.076, allocations: 2.058 MB / 0.8629 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004713/1.08, allocations: 2.375 MB / 0.8653 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009039/1.09, allocations: 4.432 MB / 0.8696 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/1.09, allocations: 4 kB / 0.8696 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01141/1.101, allocations: 5.327 MB / 0.8748 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/1.101, allocations: 4 kB / 0.8748 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/1.101, allocations: 4 kB / 0.8748 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/1.102, allocations: 0.5414 MB / 0.8753 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003842/1.106, allocations: 0.7962 MB / 0.8761 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007379/1.113, allocations: 5.721 MB / 0.8817 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00395/1.117, allocations: 0.5439 MB / 0.8822 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003338/1.118, allocations: 111.9 kB / 0.8823 GB, free: 7.395 MB / 0.6544 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 (282): * Single equations (assignments): 281 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001946/1.12, allocations: 0.971 MB / 0.8833 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006433/1.12, allocations: 288.4 kB / 0.8835 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/1.133, allocations: 5.878 MB / 0.8893 GB, free: 244 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.143e-05/1.133, allocations: 36 kB / 0.8893 GB, free: 208 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/1.133, allocations: 4 kB / 0.8893 GB, free: 204 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.011e-05/1.133, allocations: 19.89 kB / 0.8893 GB, free: 184 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01789/1.151, allocations: 9.909 MB / 0.899 GB, free: 6.254 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.078e-06/1.151, allocations: 4 kB / 0.899 GB, free: 6.25 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003587/1.154, allocations: 0.7434 MB / 0.8998 GB, free: 5.527 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001311/1.156, allocations: 0.5285 MB / 0.9003 GB, free: 4.992 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002463/1.156, allocations: 79.92 kB / 0.9003 GB, free: 4.914 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00784/1.164, allocations: 7.544 MB / 0.9077 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.164, allocations: 0 / 0.9077 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01659/1.18, allocations: 8.398 MB / 0.9159 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002106/1.182, allocations: 0.8404 MB / 0.9167 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005235/1.183, allocations: 67.08 kB / 0.9168 GB, free: 3.715 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002873/1.186, allocations: 401.9 kB / 0.9172 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004299/1.186, allocations: 190.1 kB / 0.9174 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002533/1.187, allocations: 99.88 kB / 0.9175 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002456/1.189, allocations: 1.838 MB / 0.9193 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.81e-07/1.189, allocations: 0 / 0.9193 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002718/1.192, allocations: 1.11 MB / 0.9203 GB, free: 80 kB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (260): * Single equations (assignments): 253 * 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 {(4,36,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.002338/1.194, allocations: 1.031 MB / 0.9213 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01075/1.205, allocations: 5.107 MB / 0.9263 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.205, allocations: 0 / 0.9263 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005848/1.211, allocations: 2.951 MB / 0.9292 GB, free: 7.43 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003045/1.214, allocations: 0.7222 MB / 0.9299 GB, free: 6.746 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/1.227, allocations: 8.268 MB / 0.938 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002077/1.23, allocations: 2.555 MB / 0.9405 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003731/1.233, allocations: 1.134 MB / 0.9416 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/1.234, allocations: 267.3 kB / 0.9419 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of SimCode: time 5.81e-07/1.234, allocations: 0 / 0.9419 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of Templates: time 0.08091/1.315, allocations: 49.82 MB / 0.9905 GB, free: 9.105 MB / 0.7637 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)