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.007417/0.007417, allocations: 101.7 kB / 15.73 MB, free: 6.059 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.001633/0.001633, allocations: 188.8 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8371/0.8371, allocations: 135.1 MB / 425.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 57.19 kB / 0.5856 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1749, allocations: 80.93 MB / 0.6646 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.6382/0.8131, allocations: 163.1 MB / 0.8239 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04405/0.8572, allocations: 27.46 MB / 0.8507 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00544/0.8627, allocations: 83.12 kB / 0.8508 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003881/0.8667, allocations: 1.123 MB / 0.8519 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007973/0.8747, allocations: 1.891 MB / 0.8537 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006838/0.8816, allocations: 1.981 MB / 0.8557 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00972/0.8913, allocations: 5.86 MB / 0.8614 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009135/0.9005, allocations: 4.882 MB / 0.8661 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006299/0.9069, allocations: 2.314 MB / 0.8684 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005932/0.9128, allocations: 2.824 MB / 0.8712 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0025/0.9154, allocations: 0.5195 MB / 0.8717 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004649/0.92, allocations: 1.128 MB / 0.8728 GB, free: 9.812 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002838/0.9229, allocations: 1.367 MB / 0.8741 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00628/0.9292, allocations: 2.387 MB / 0.8764 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01443/0.9437, allocations: 6.78 MB / 0.8831 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/0.9437, allocations: 0 / 0.8831 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.116e-06/0.9438, allocations: 4 kB / 0.8831 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003579/0.9441, allocations: 4 kB / 0.8831 GB, free: 15.23 MB / 0.6544 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.01744/0.9616, allocations: 5.233 MB / 0.8882 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.9617, allocations: 9.109 kB / 0.8882 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01504/0.9767, allocations: 2.864 MB / 0.891 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007494/0.9843, allocations: 2.553 MB / 0.8935 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002364/0.9845, allocations: 279.5 kB / 0.8937 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001048/0.9856, allocations: 372 kB / 0.8941 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01427/0.9999, allocations: 5.732 MB / 0.8997 GB, free: 13.98 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-05/1, allocations: 0 / 0.8997 GB, free: 13.98 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004633/1, allocations: 160 kB / 0.8998 GB, free: 13.82 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-05/1.001, allocations: 91.94 kB / 0.8999 GB, free: 13.73 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01765/1.018, allocations: 6.862 MB / 0.9066 GB, free: 6.859 MB / 0.67 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.03849/1.057, allocations: 17.29 MB / 0.9235 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/1.069, allocations: 4.477 MB / 0.9279 GB, free: 348 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007128/1.076, allocations: 2.951 MB / 0.9308 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001261/1.077, allocations: 0.6738 MB / 0.9314 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007349/1.085, allocations: 2.733 MB / 0.9341 GB, free: 9.812 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=315): time 8.807e-06/1.085, allocations: 4 kB / 0.9341 GB, free: 9.809 MB / 0.7012 GB Notification: Performance of matching and sorting (n=315): time 0.02953/1.114, allocations: 9.7 MB / 0.9436 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001624/1.114, allocations: 218.4 kB / 0.9438 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005592/1.12, allocations: 2.658 MB / 0.9464 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0009553/1.121, allocations: 77.7 kB / 0.9465 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001951/1.123, allocations: 1.568 MB / 0.948 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.002191/1.125, allocations: 1.108 MB / 0.9491 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002612/1.128, allocations: 0.5409 MB / 0.9496 GB, free: 9.719 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001204/1.128, allocations: 309.1 kB / 0.9499 GB, free: 9.414 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005884/1.134, allocations: 2.179 MB / 0.952 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006663/1.14, allocations: 2.521 MB / 0.9545 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01229/1.153, allocations: 4.704 MB / 0.9591 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.24e-05/1.153, allocations: 4 kB / 0.9591 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01667/1.17, allocations: 5.825 MB / 0.9648 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/1.17, allocations: 7.938 kB / 0.9648 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/1.17, allocations: 4 kB / 0.9648 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002177/1.172, allocations: 0.8396 MB / 0.9656 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00479/1.177, allocations: 0.8073 MB / 0.9664 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/1.189, allocations: 7.57 MB / 0.9738 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004912/1.194, allocations: 0.5718 MB / 0.9743 GB, free: 16 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001116/1.195, allocations: 119.9 kB / 0.9745 GB, free: 15.9 MB / 0.7481 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.003841/1.199, allocations: 1.029 MB / 0.9755 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001573/1.201, allocations: 317.9 kB / 0.9758 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01842/1.219, allocations: 6.394 MB / 0.982 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.194e-05/1.219, allocations: 28 kB / 0.982 GB, free: 8.062 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.379e-05/1.219, allocations: 12 kB / 0.982 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-05/1.219, allocations: 15.94 kB / 0.9821 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0272/1.246, allocations: 10.72 MB / 0.9925 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/1.247, allocations: 0 / 0.9925 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004163/1.251, allocations: 0.7645 MB / 0.9933 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002132/1.253, allocations: 0.7417 MB / 0.994 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005914/1.253, allocations: 87.92 kB / 0.9941 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01415/1.268, allocations: 10.67 MB / 1.005 GB, free: 488 kB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/1.268, allocations: 3.938 kB / 1.005 GB, free: 484 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02476/1.292, allocations: 9.09 MB / 1.013 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003104/1.296, allocations: 0.9121 MB / 1.014 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001535/1.297, allocations: 71.89 kB / 1.014 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004374/1.302, allocations: 395.4 kB / 1.015 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009471/1.303, allocations: 210.3 kB / 1.015 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006605/1.303, allocations: 115.9 kB / 1.015 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.004016/1.307, allocations: 1.924 MB / 1.017 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.31e-07/1.307, allocations: 0 / 1.017 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005506/1.313, allocations: 1.239 MB / 1.018 GB, free: 2.414 MB / 0.7794 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.003423/1.316, allocations: 1.045 MB / 1.019 GB, free: 1.703 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01527/1.332, allocations: 5.528 MB / 1.025 GB, free: 12.14 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.332, allocations: 0 / 1.025 GB, free: 12.14 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00854/1.34, allocations: 3.325 MB / 1.028 GB, free: 8.77 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005181/1.345, allocations: 0.7729 MB / 1.029 GB, free: 8.035 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02149/1.367, allocations: 9.042 MB / 1.037 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004143/1.371, allocations: 2.695 MB / 1.04 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.005496/1.377, allocations: 1.153 MB / 1.041 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/1.378, allocations: 283.2 kB / 1.041 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of SimCode: time 9.72e-07/1.378, allocations: 0 / 1.041 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of Templates: time 0.4717/1.85, allocations: 55.48 MB / 1.096 GB, free: 306.8 MB / 0.8262 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 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)