Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 111.8 kB / 16.37 MB, free: 5.949 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.001205/0.001205, allocations: 199 kB / 17.31 MB, free: 5.574 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.404/1.404, 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.8544/0.8544, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.91 kB / 0.5068 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3311, allocations: 80.9 MB / 0.5858 GB, free: 25.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1606/0.4918, allocations: 160.1 MB / 0.7421 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3531/0.8449, allocations: 26.58 MB / 0.7681 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00319/0.8481, allocations: 70.16 kB / 0.7681 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00251/0.8507, allocations: 0.9789 MB / 0.7691 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005166/0.8559, allocations: 1.614 MB / 0.7707 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005393/0.8613, allocations: 1.643 MB / 0.7723 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007753/0.8691, allocations: 4.572 MB / 0.7768 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007046/0.8762, allocations: 4.102 MB / 0.7808 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003872/0.88, allocations: 1.936 MB / 0.7826 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003709/0.8838, allocations: 2.341 MB / 0.7849 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001442/0.8852, allocations: 426.4 kB / 0.7853 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003154/0.8884, allocations: 1.035 MB / 0.7864 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001561/0.89, allocations: 1.102 MB / 0.7874 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003116/0.8931, allocations: 1.933 MB / 0.7893 GB, free: 192 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007171/0.9003, allocations: 5.502 MB / 0.7947 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.9003, allocations: 7.281 kB / 0.7947 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9003, allocations: 1 kB / 0.7947 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002146/0.9006, allocations: 3.938 kB / 0.7947 GB, free: 15.44 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.01058/0.9111, allocations: 4.297 MB / 0.7989 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.9112, allocations: 13.2 kB / 0.7989 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01348/0.9247, allocations: 2.749 MB / 0.8016 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005524/0.9302, allocations: 2.211 MB / 0.8038 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/0.9304, allocations: 229.7 kB / 0.804 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009309/0.9314, allocations: 304.8 kB / 0.8043 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01111/0.9425, allocations: 4.961 MB / 0.8091 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-05/0.9426, allocations: 6.594 kB / 0.8091 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003358/0.9429, allocations: 130.2 kB / 0.8092 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.47e-05/0.943, allocations: 74.28 kB / 0.8093 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01404/0.957, allocations: 6.105 MB / 0.8153 GB, free: 9.555 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.02495/0.982, allocations: 13.53 MB / 0.8285 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009337/0.9914, allocations: 4.344 MB / 0.8327 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004881/0.9963, allocations: 2.315 MB / 0.835 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009039/0.9972, allocations: 0.6686 MB / 0.8356 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005416/1.003, allocations: 2.369 MB / 0.838 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=257): time 5.581e-06/1.003, allocations: 4 kB / 0.838 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=257): time 0.01711/1.02, allocations: 6.94 MB / 0.8447 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/1.02, allocations: 209.1 kB / 0.8449 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003261/1.023, allocations: 2.311 MB / 0.8472 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0005031/1.024, allocations: 73.7 kB / 0.8473 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001162/1.025, allocations: 1.293 MB / 0.8485 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001042/1.026, allocations: 0.8518 MB / 0.8494 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008869/1.027, allocations: 484.1 kB / 0.8498 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001073/1.027, allocations: 301.1 kB / 0.8501 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004376/1.031, allocations: 1.901 MB / 0.852 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004843/1.036, allocations: 2.187 MB / 0.8541 GB, free: 3.316 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009485/1.046, allocations: 4.058 MB / 0.8581 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/1.046, allocations: 7.922 kB / 0.8581 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01156/1.057, allocations: 4.702 MB / 0.8627 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/1.057, allocations: 7.984 kB / 0.8627 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/1.057, allocations: 8.094 kB / 0.8627 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006616/1.058, allocations: 232.6 kB / 0.8629 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004005/1.062, allocations: 0.7729 MB / 0.8637 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00427/1.066, allocations: 3.377 MB / 0.867 GB, free: 5.961 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003718/1.07, allocations: 0.5208 MB / 0.8675 GB, free: 5.438 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003536/1.071, allocations: 107.9 kB / 0.8676 GB, free: 5.332 MB / 0.6387 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 (272): * Single equations (assignments): 271 * 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.001876/1.072, allocations: 0.8919 MB / 0.8684 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006234/1.073, allocations: 268.7 kB / 0.8687 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/1.085, allocations: 5.265 MB / 0.8738 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/1.085, allocations: 24 kB / 0.8739 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/1.085, allocations: 4 kB / 0.8739 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-05/1.085, allocations: 15.89 kB / 0.8739 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01819/1.103, allocations: 8.816 MB / 0.8825 GB, free: 5.961 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/1.104, allocations: 0 / 0.8825 GB, free: 5.961 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00379/1.107, allocations: 0.716 MB / 0.8832 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008199/1.108, allocations: 275.7 kB / 0.8834 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003041/1.108, allocations: 71.94 kB / 0.8835 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005083/1.114, allocations: 5.252 MB / 0.8886 GB, free: 15.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.114, allocations: 0 / 0.8886 GB, free: 15.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.017/1.131, allocations: 7.534 MB / 0.896 GB, free: 7.781 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002228/1.133, allocations: 0.7666 MB / 0.8967 GB, free: 6.992 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005267/1.133, allocations: 59.84 kB / 0.8968 GB, free: 6.934 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002999/1.136, allocations: 387.4 kB / 0.8972 GB, free: 6.555 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003943/1.137, allocations: 165.9 kB / 0.8973 GB, free: 6.391 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002572/1.137, allocations: 91.94 kB / 0.8974 GB, free: 6.301 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002388/1.139, allocations: 1.692 MB / 0.8991 GB, free: 4.594 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.11e-07/1.139, allocations: 4 kB / 0.8991 GB, free: 4.59 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002737/1.142, allocations: 0.9699 MB / 0.9 GB, free: 3.617 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.002507/1.145, allocations: 1.03 MB / 0.901 GB, free: 3.02 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01147/1.156, allocations: 4.592 MB / 0.9055 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/1.156, allocations: 0.6875 kB / 0.9055 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.005749/1.162, allocations: 2.611 MB / 0.9081 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003102/1.165, allocations: 0.6431 MB / 0.9087 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/1.179, allocations: 7.457 MB / 0.916 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001965/1.181, allocations: 2.374 MB / 0.9183 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.003802/1.184, allocations: 1.094 MB / 0.9194 GB, free: 232 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/1.186, allocations: 259.3 kB / 0.9196 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of SimCode: time 7.11e-07/1.186, allocations: 0 / 0.9196 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of Templates: time 0.07048/1.256, allocations: 43.44 MB / 0.962 GB, free: 4.898 MB / 0.7325 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)