Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_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.001359/0.001359, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9793/0.9793, allocations: 135.1 MB / 425.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 68.45 kB / 0.5053 GB, free: 5.297 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1896, allocations: 80.92 MB / 0.5844 GB, free: 4.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.5238/0.7134, allocations: 160.8 MB / 0.7413 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03781/0.7513, allocations: 26.78 MB / 0.7675 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00454/0.7558, allocations: 75.62 kB / 0.7676 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002754/0.7587, allocations: 1.014 MB / 0.7686 GB, free: 64 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005921/0.7646, allocations: 1.667 MB / 0.7702 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005011/0.7696, allocations: 1.705 MB / 0.7719 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006966/0.7766, allocations: 4.805 MB / 0.7765 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006548/0.7832, allocations: 4.255 MB / 0.7807 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004004/0.7872, allocations: 2.018 MB / 0.7827 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004182/0.7914, allocations: 2.441 MB / 0.7851 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001447/0.7929, allocations: 448 kB / 0.7855 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002991/0.7959, allocations: 1.023 MB / 0.7865 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002312/0.7982, allocations: 1.176 MB / 0.7876 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003389/0.8016, allocations: 2.029 MB / 0.7896 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006957/0.8086, allocations: 5.702 MB / 0.7952 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.8086, allocations: 0 / 0.7952 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8086, allocations: 0 / 0.7952 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001254/0.8088, allocations: 3.938 kB / 0.7952 GB, free: 4.727 MB / 0.6075 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.009411/0.8182, allocations: 4.473 MB / 0.7996 GB, free: 188 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.8182, allocations: 16.03 kB / 0.7996 GB, free: 172 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01356/0.8318, allocations: 2.768 MB / 0.8023 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005203/0.837, allocations: 2.247 MB / 0.8045 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/0.8373, allocations: 242.5 kB / 0.8047 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007261/0.838, allocations: 324 kB / 0.805 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01176/0.8498, allocations: 5.136 MB / 0.81 GB, free: 5.297 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-05/0.8499, allocations: 3.906 kB / 0.81 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003707/0.8502, allocations: 140 kB / 0.8102 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.751e-05/0.8503, allocations: 79.94 kB / 0.8102 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01577/0.8661, allocations: 6.288 MB / 0.8164 GB, free: 14.78 MB / 0.6387 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.03359/0.8997, allocations: 14.52 MB / 0.8306 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01104/0.9108, allocations: 4.521 MB / 0.835 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005499/0.9163, allocations: 2.454 MB / 0.8374 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/0.9174, allocations: 0.6696 MB / 0.838 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006025/0.9234, allocations: 2.458 MB / 0.8404 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=270): time 5.421e-06/0.9235, allocations: 0 / 0.8404 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of matching and sorting (n=270): time 0.01985/0.9433, allocations: 7.543 MB / 0.8478 GB, free: 13.77 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.9435, allocations: 214 kB / 0.848 GB, free: 13.52 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004122/0.9476, allocations: 2.393 MB / 0.8503 GB, free: 11.1 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0004202/0.948, allocations: 77.8 kB / 0.8504 GB, free: 11.02 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001407/0.9495, allocations: 1.345 MB / 0.8517 GB, free: 9.652 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001097/0.9506, allocations: 0.901 MB / 0.8526 GB, free: 8.742 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/0.9518, allocations: 496.6 kB / 0.8531 GB, free: 8.25 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.9519, allocations: 309.1 kB / 0.8534 GB, free: 7.945 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004715/0.9566, allocations: 1.968 MB / 0.8553 GB, free: 5.973 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005042/0.9617, allocations: 2.265 MB / 0.8575 GB, free: 3.633 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3867/1.348, allocations: 4.225 MB / 0.8616 GB, free: 214.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.779e-05/1.348, allocations: 3.062 kB / 0.8616 GB, free: 214.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01132/1.36, allocations: 4.965 MB / 0.8665 GB, free: 214 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/1.36, allocations: 8.953 kB / 0.8665 GB, free: 214 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/1.36, allocations: 9.469 kB / 0.8665 GB, free: 214 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008289/1.361, allocations: 348.9 kB / 0.8668 GB, free: 213.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003664/1.364, allocations: 0.7808 MB / 0.8676 GB, free: 213.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004615/1.369, allocations: 4.251 MB / 0.8717 GB, free: 211.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003772/1.373, allocations: 0.5307 MB / 0.8723 GB, free: 211.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004954/1.373, allocations: 115.2 kB / 0.8724 GB, free: 211.1 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 (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.002221/1.375, allocations: 0.92 MB / 0.8733 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009329/1.376, allocations: 273.5 kB / 0.8735 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/1.389, allocations: 5.546 MB / 0.8789 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/1.389, allocations: 26.66 kB / 0.879 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.759e-05/1.39, allocations: 6.344 kB / 0.879 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.957e-05/1.39, allocations: 17.39 kB / 0.879 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01867/1.408, allocations: 9.298 MB / 0.8881 GB, free: 205.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/1.408, allocations: 0 / 0.8881 GB, free: 205.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003732/1.412, allocations: 0.7272 MB / 0.8888 GB, free: 205.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001169/1.413, allocations: 387.3 kB / 0.8891 GB, free: 205.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002939/1.414, allocations: 78.84 kB / 0.8892 GB, free: 205.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006098/1.42, allocations: 6.3 MB / 0.8954 GB, free: 200.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.42, allocations: 7.172 kB / 0.8954 GB, free: 200.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02009/1.44, allocations: 7.913 MB / 0.9031 GB, free: 197.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002152/1.442, allocations: 0.801 MB / 0.9039 GB, free: 197.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008284/1.443, allocations: 59.58 kB / 0.904 GB, free: 197.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003684/1.446, allocations: 387 kB / 0.9043 GB, free: 197.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000604/1.447, allocations: 181.8 kB / 0.9045 GB, free: 197.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003368/1.447, allocations: 98.31 kB / 0.9046 GB, free: 197.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003656/1.451, allocations: 1.749 MB / 0.9063 GB, free: 196.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.9e-07/1.451, allocations: 0 / 0.9063 GB, free: 196.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003914/1.455, allocations: 1.024 MB / 0.9073 GB, free: 196.4 MB / 0.67 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.002727/1.458, allocations: 1.04 MB / 0.9083 GB, free: 196.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02232/1.48, allocations: 8.125 MB / 0.9162 GB, free: 194.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.48, allocations: 1.031 kB / 0.9162 GB, free: 194.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00661/1.487, allocations: 2.761 MB / 0.9189 GB, free: 193.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003992/1.491, allocations: 0.667 MB / 0.9196 GB, free: 193.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/1.506, allocations: 7.893 MB / 0.9273 GB, free: 190 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001746/1.507, allocations: 2.457 MB / 0.9297 GB, free: 189 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003951/1.511, allocations: 1.112 MB / 0.9308 GB, free: 188.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/1.512, allocations: 269.1 kB / 0.931 GB, free: 188.8 MB / 0.67 GB Notification: Performance of SimCode: time 6.32e-07/1.512, allocations: 0 / 0.931 GB, free: 188.8 MB / 0.67 GB Notification: Performance of Templates: time 0.06484/1.577, allocations: 46.1 MB / 0.9761 GB, free: 145.8 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)