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.001158/0.001158, allocations: 104.1 kB / 16.36 MB, free: 6.285 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.001191/0.001191, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8239/0.8239, allocations: 132.2 MB / 423.3 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.89 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4026, allocations: 80.18 MB / 0.5815 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1703/0.5729, allocations: 160.8 MB / 0.7385 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3729/0.9459, allocations: 26.77 MB / 0.7646 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002645/0.9485, allocations: 72.84 kB / 0.7647 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002053/0.9506, allocations: 1.015 MB / 0.7657 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004346/0.955, allocations: 1.671 MB / 0.7673 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003867/0.9589, allocations: 1.7 MB / 0.769 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005641/0.9645, allocations: 4.832 MB / 0.7737 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004847/0.9694, allocations: 4.262 MB / 0.7779 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003241/0.9727, allocations: 2.01 MB / 0.7798 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003123/0.9758, allocations: 2.449 MB / 0.7822 GB, free: 16.97 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008489/0.9767, allocations: 452.5 kB / 0.7826 GB, free: 16.97 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002266/0.9789, allocations: 1.055 MB / 0.7837 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009333/0.9799, allocations: 1.162 MB / 0.7848 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002046/0.9819, allocations: 2.033 MB / 0.7868 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005655/0.9876, allocations: 5.798 MB / 0.7925 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.9876, allocations: 1.125 kB / 0.7925 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9877, allocations: 3.938 kB / 0.7925 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001702/0.9878, allocations: 3 kB / 0.7925 GB, free: 15.43 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01093/0.9988, allocations: 4.483 MB / 0.7968 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.9988, allocations: 10.34 kB / 0.7969 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.013/1.012, allocations: 2.772 MB / 0.7996 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005302/1.017, allocations: 2.293 MB / 0.8018 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/1.017, allocations: 238.1 kB / 0.802 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001174/1.019, allocations: 321.9 kB / 0.8023 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01129/1.03, allocations: 5.142 MB / 0.8074 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.287e-05/1.03, allocations: 0 / 0.8074 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003537/1.03, allocations: 133.2 kB / 0.8075 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.123e-05/1.03, allocations: 83.7 kB / 0.8076 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01463/1.045, allocations: 6.29 MB / 0.8137 GB, free: 9.254 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.02845/1.073, allocations: 14.42 MB / 0.8278 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009921/1.083, allocations: 4.513 MB / 0.8322 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005229/1.089, allocations: 2.45 MB / 0.8346 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009306/1.09, allocations: 0.6668 MB / 0.8352 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005509/1.095, allocations: 2.461 MB / 0.8376 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=270): time 5.31e-06/1.095, allocations: 0 / 0.8376 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of matching and sorting (n=270): time 0.0194/1.115, allocations: 7.539 MB / 0.845 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/1.115, allocations: 210 kB / 0.8452 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003412/1.118, allocations: 2.397 MB / 0.8475 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0005923/1.119, allocations: 73.7 kB / 0.8476 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001299/1.12, allocations: 1.345 MB / 0.8489 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001076/1.121, allocations: 0.9027 MB / 0.8498 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009762/1.122, allocations: 498.5 kB / 0.8503 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.501e-05/1.122, allocations: 305.1 kB / 0.8506 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004607/1.127, allocations: 1.975 MB / 0.8525 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005031/1.132, allocations: 2.265 MB / 0.8547 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009997/1.142, allocations: 4.232 MB / 0.8588 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.517e-05/1.142, allocations: 0 / 0.8588 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.0138/1.156, allocations: 4.965 MB / 0.8637 GB, free: 7.363 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/1.156, allocations: 6.5 kB / 0.8637 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/1.156, allocations: 4 kB / 0.8637 GB, free: 7.355 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008868/1.157, allocations: 350.1 kB / 0.864 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004431/1.161, allocations: 0.7845 MB / 0.8648 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005944/1.167, allocations: 4.252 MB / 0.869 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004272/1.171, allocations: 0.5323 MB / 0.8695 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006573/1.172, allocations: 111.9 kB / 0.8696 GB, free: 1.238 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 (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.002206/1.174, allocations: 0.9272 MB / 0.8705 GB, free: 336 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008556/1.175, allocations: 272.6 kB / 0.8708 GB, free: 60 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01401/1.189, allocations: 5.534 MB / 0.8762 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.952e-05/1.189, allocations: 28 kB / 0.8762 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/1.189, allocations: 8 kB / 0.8762 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.927e-05/1.189, allocations: 19.14 kB / 0.8762 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02031/1.21, allocations: 9.292 MB / 0.8853 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/1.21, allocations: 0 / 0.8853 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004001/1.214, allocations: 0.7238 MB / 0.886 GB, free: 400 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/1.215, allocations: 389.6 kB / 0.8864 GB, free: 4 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005331/1.215, allocations: 76.7 kB / 0.8864 GB, free: 15.93 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006573/1.222, allocations: 6.294 MB / 0.8926 GB, free: 9.355 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.222, allocations: 3.938 kB / 0.8926 GB, free: 9.352 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01799/1.24, allocations: 7.918 MB / 0.9003 GB, free: 1.355 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002685/1.243, allocations: 0.798 MB / 0.9011 GB, free: 0.5352 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006124/1.243, allocations: 71.83 kB / 0.9012 GB, free: 476 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002925/1.246, allocations: 383.4 kB / 0.9015 GB, free: 92 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000439/1.247, allocations: 177.9 kB / 0.9017 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002539/1.247, allocations: 103.9 kB / 0.9018 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002513/1.25, allocations: 1.748 MB / 0.9035 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.01e-07/1.25, allocations: 4 kB / 0.9035 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003002/1.253, allocations: 1.032 MB / 0.9045 GB, free: 13.02 MB / 0.6856 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.002435/1.255, allocations: 1.032 MB / 0.9055 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01073/1.266, allocations: 4.807 MB / 0.9102 GB, free: 7.621 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.266, allocations: 0 / 0.9102 GB, free: 7.621 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.005784/1.272, allocations: 2.767 MB / 0.9129 GB, free: 4.875 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003166/1.275, allocations: 0.6673 MB / 0.9136 GB, free: 4.258 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/1.289, allocations: 7.802 MB / 0.9212 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002109/1.291, allocations: 2.456 MB / 0.9236 GB, free: 9.941 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.00393/1.295, allocations: 1.107 MB / 0.9247 GB, free: 8.832 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/1.296, allocations: 262.5 kB / 0.9249 GB, free: 8.578 MB / 0.7012 GB Notification: Performance of SimCode: time 6.81e-07/1.296, allocations: 0 / 0.9249 GB, free: 8.578 MB / 0.7012 GB Notification: Performance of Templates: time 0.07549/1.372, allocations: 46.08 MB / 0.9699 GB, free: 10.96 MB / 0.7481 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)