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.005264/0.005264, allocations: 103.3 kB / 15.73 MB, free: 6.035 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.001161/0.001161, allocations: 198.9 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.017/1.017, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 67.89 kB / 0.5856 GB, free: 3.383 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4683/0.4697, allocations: 80.91 MB / 0.6646 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.2103/0.6801, allocations: 163.1 MB / 0.8239 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.045/0.7251, allocations: 27.45 MB / 0.8507 GB, free: 2.578 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006564/0.7317, allocations: 87.56 kB / 0.8508 GB, free: 2.492 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005081/0.7369, allocations: 1.13 MB / 0.8519 GB, free: 1.355 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008396/0.7454, allocations: 1.941 MB / 0.8538 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006872/0.7523, allocations: 1.98 MB / 0.8557 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01089/0.7632, allocations: 5.856 MB / 0.8614 GB, free: 7.562 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009306/0.7725, allocations: 4.881 MB / 0.8662 GB, free: 2.602 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006284/0.7789, allocations: 2.342 MB / 0.8685 GB, free: 264 kB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5497/1.329, allocations: 2.824 MB / 0.8712 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003588/1.332, allocations: 0.5203 MB / 0.8717 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00492/1.337, allocations: 1.137 MB / 0.8729 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002332/1.34, allocations: 1.356 MB / 0.8742 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004336/1.344, allocations: 2.391 MB / 0.8765 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01023/1.354, allocations: 6.759 MB / 0.8831 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.354, allocations: 0.8125 kB / 0.8831 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.084e-06/1.354, allocations: 0 / 0.8831 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003229/1.355, allocations: 0.9062 kB / 0.8831 GB, free: 9.648 MB / 0.6856 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.02676/1.381, allocations: 5.11 MB / 0.8881 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/1.381, allocations: 9.594 kB / 0.8881 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02136/1.403, allocations: 2.827 MB / 0.8909 GB, free: 7.441 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008739/1.412, allocations: 2.536 MB / 0.8934 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004568/1.412, allocations: 284.4 kB / 0.8936 GB, free: 6.773 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002421/1.414, allocations: 373.5 kB / 0.894 GB, free: 6.77 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02578/1.44, allocations: 5.729 MB / 0.8996 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004301/1.441, allocations: 10.72 kB / 0.8996 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003259/1.444, allocations: 150.7 kB / 0.8997 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001935/1.444, allocations: 90.47 kB / 0.8998 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02215/1.466, allocations: 6.863 MB / 0.9065 GB, free: 6.465 MB / 0.6856 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.04413/1.511, allocations: 17.25 MB / 0.9234 GB, free: 1.375 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01208/1.523, allocations: 4.481 MB / 0.9277 GB, free: 0.5352 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007009/1.53, allocations: 2.947 MB / 0.9306 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/1.531, allocations: 0.6699 MB / 0.9313 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008647/1.54, allocations: 2.732 MB / 0.9339 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=315): time 7.995e-06/1.54, allocations: 0.875 kB / 0.9339 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of matching and sorting (n=315): time 0.03119/1.571, allocations: 9.691 MB / 0.9434 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001603/1.571, allocations: 214.1 kB / 0.9436 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007183/1.579, allocations: 2.668 MB / 0.9462 GB, free: 9.504 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.001357/1.58, allocations: 81.7 kB / 0.9463 GB, free: 9.418 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.002212/1.582, allocations: 1.537 MB / 0.9478 GB, free: 7.867 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.002602/1.585, allocations: 1.044 MB / 0.9488 GB, free: 6.832 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003923/1.589, allocations: 0.5409 MB / 0.9493 GB, free: 6.285 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.589, allocations: 305.1 kB / 0.9496 GB, free: 5.984 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006267/1.595, allocations: 2.191 MB / 0.9518 GB, free: 3.793 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006588/1.602, allocations: 2.531 MB / 0.9542 GB, free: 1.191 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01303/1.615, allocations: 4.704 MB / 0.9588 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.41e-05/1.615, allocations: 0 / 0.9588 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01849/1.633, allocations: 5.801 MB / 0.9645 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/1.633, allocations: 12.16 kB / 0.9645 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/1.634, allocations: 7.938 kB / 0.9645 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002081/1.636, allocations: 0.8356 MB / 0.9653 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005244/1.641, allocations: 0.808 MB / 0.9661 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/1.654, allocations: 7.563 MB / 0.9735 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005806/1.66, allocations: 0.5633 MB / 0.9741 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001346/1.661, allocations: 119.9 kB / 0.9742 GB, free: 12.64 MB / 0.7325 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.005044/1.666, allocations: 1.031 MB / 0.9752 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002262/1.668, allocations: 316 kB / 0.9755 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02121/1.689, allocations: 6.371 MB / 0.9817 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.183e-05/1.69, allocations: 32 kB / 0.9817 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.943e-05/1.69, allocations: 8 kB / 0.9817 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.883e-05/1.69, allocations: 15.94 kB / 0.9818 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03297/1.723, allocations: 10.71 MB / 0.9922 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.411e-05/1.723, allocations: 3.984 kB / 0.9922 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00494/1.728, allocations: 0.7659 MB / 0.993 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00225/1.73, allocations: 0.7371 MB / 0.9937 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000984/1.731, allocations: 83.94 kB / 0.9938 GB, free: 8.559 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01366/1.745, allocations: 10.66 MB / 1.004 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.745, allocations: 0 / 1.004 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02577/1.77, allocations: 9.076 MB / 1.013 GB, free: 4.371 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003464/1.774, allocations: 0.887 MB / 1.014 GB, free: 3.461 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001935/1.776, allocations: 71.83 kB / 1.014 GB, free: 3.391 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005378/1.781, allocations: 400.5 kB / 1.014 GB, free: 3 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001221/1.783, allocations: 221.5 kB / 1.015 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008683/1.783, allocations: 107.9 kB / 1.015 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.004846/1.788, allocations: 1.928 MB / 1.017 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.31e-07/1.788, allocations: 0 / 1.017 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.007142/1.796, allocations: 1.227 MB / 1.018 GB, free: 15.52 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.003908/1.799, allocations: 1.048 MB / 1.019 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01567/1.815, allocations: 5.515 MB / 1.024 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/1.815, allocations: 0 / 1.024 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00895/1.824, allocations: 3.326 MB / 1.027 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006662/1.831, allocations: 0.7707 MB / 1.028 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0241/1.855, allocations: 8.911 MB / 1.037 GB, free: 12.38 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004446/1.859, allocations: 2.695 MB / 1.04 GB, free: 9.652 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.006391/1.866, allocations: 1.164 MB / 1.041 GB, free: 8.488 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002371/1.868, allocations: 275.2 kB / 1.041 GB, free: 8.223 MB / 0.795 GB Notification: Performance of SimCode: time 1.212e-06/1.868, allocations: 0 / 1.041 GB, free: 8.223 MB / 0.795 GB Notification: Performance of Templates: time 0.09857/1.967, allocations: 55.5 MB / 1.095 GB, free: 1.289 MB / 0.8419 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)