Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_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.001042/0.001042, allocations: 97.56 kB / 15.36 MB, free: 0.7305 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: 172.5 kB / 16.26 MB, free: 6.664 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.42/1.42, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8014/0.8014, allocations: 132.4 MB / 423.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003436, allocations: 8 kB / 0.504 GB, free: 3.945 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4797/0.4801, allocations: 81.56 MB / 0.5837 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1874/0.6675, allocations: 158.4 MB / 0.7384 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03846/0.706, allocations: 26.96 MB / 0.7647 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004635/0.7107, allocations: 75.62 kB / 0.7648 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003181/0.7139, allocations: 1.003 MB / 0.7658 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006478/0.7204, allocations: 1.716 MB / 0.7674 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005163/0.7256, allocations: 1.752 MB / 0.7691 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008141/0.7337, allocations: 6.155 MB / 0.7752 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006652/0.7404, allocations: 3.964 MB / 0.779 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003712/0.7442, allocations: 1.59 MB / 0.7806 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003929/0.7481, allocations: 2.229 MB / 0.7828 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001048/0.7492, allocations: 140 kB / 0.7829 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002717/0.7519, allocations: 0.7374 MB / 0.7836 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001169/0.7531, allocations: 0.8712 MB / 0.7845 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00241/0.7555, allocations: 1.861 MB / 0.7863 GB, free: 248 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00694/0.7625, allocations: 6.194 MB / 0.7923 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.7625, allocations: 4 kB / 0.7923 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of FrontEnd: time 4.228e-06/0.7625, allocations: 4 kB / 0.7923 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002036/0.7627, allocations: 0 / 0.7923 GB, free: 10.02 MB / 0.6231 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.009591/0.7723, allocations: 4.311 MB / 0.7965 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.7724, allocations: 12.03 kB / 0.7966 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01447/0.7869, allocations: 2.947 MB / 0.7994 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005382/0.7923, allocations: 2.519 MB / 0.8019 GB, free: 68 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002409/0.7926, allocations: 279.6 kB / 0.8022 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000901/0.7935, allocations: 368 kB / 0.8025 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01319/0.8067, allocations: 5.771 MB / 0.8081 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.646e-05/0.8068, allocations: 3.938 kB / 0.8081 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004195/0.8072, allocations: 159.9 kB / 0.8083 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.287e-05/0.8073, allocations: 92 kB / 0.8084 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01603/0.8233, allocations: 6.948 MB / 0.8152 GB, free: 2.391 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.3791/1.202, allocations: 17.42 MB / 0.8322 GB, free: 205 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01007/1.213, allocations: 4.495 MB / 0.8366 GB, free: 203.3 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006177/1.219, allocations: 2.954 MB / 0.8395 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009172/1.22, allocations: 0.6725 MB / 0.8401 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00613/1.226, allocations: 2.734 MB / 0.8428 GB, free: 199.6 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=315): time 5.48e-06/1.226, allocations: 0 / 0.8428 GB, free: 199.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=315): time 0.02601/1.252, allocations: 9.756 MB / 0.8523 GB, free: 194.5 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/1.252, allocations: 218.2 kB / 0.8525 GB, free: 194.2 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003728/1.256, allocations: 2.654 MB / 0.8551 GB, free: 192.9 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0007038/1.257, allocations: 84.98 kB / 0.8552 GB, free: 192.9 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001122/1.258, allocations: 1.533 MB / 0.8567 GB, free: 191.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001228/1.259, allocations: 1.051 MB / 0.8577 GB, free: 190.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005956/1.26, allocations: 225.7 kB / 0.8579 GB, free: 190.3 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 3.941e-05/1.26, allocations: 301.1 kB / 0.8582 GB, free: 190 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004614/1.264, allocations: 2.187 MB / 0.8604 GB, free: 187.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004822/1.269, allocations: 2.537 MB / 0.8628 GB, free: 185.2 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009262/1.278, allocations: 4.712 MB / 0.8674 GB, free: 180.4 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/1.278, allocations: 4 kB / 0.8674 GB, free: 180.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01316/1.292, allocations: 5.819 MB / 0.8731 GB, free: 174.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/1.292, allocations: 10.19 kB / 0.8731 GB, free: 174.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/1.292, allocations: 7.938 kB / 0.8731 GB, free: 174.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001619/1.293, allocations: 0.8398 MB / 0.874 GB, free: 173.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003774/1.297, allocations: 0.8073 MB / 0.8747 GB, free: 172.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008493/1.306, allocations: 7.019 MB / 0.8816 GB, free: 165.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004333/1.31, allocations: 0.5945 MB / 0.8822 GB, free: 165.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007294/1.311, allocations: 123.9 kB / 0.8823 GB, free: 165 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 (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.002843/1.313, allocations: 1.024 MB / 0.8833 GB, free: 164 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00104/1.315, allocations: 308.1 kB / 0.8836 GB, free: 163.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/1.328, allocations: 6.394 MB / 0.8898 GB, free: 157.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/1.329, allocations: 38.91 kB / 0.8899 GB, free: 157.2 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-05/1.329, allocations: 8 kB / 0.8899 GB, free: 157.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-05/1.329, allocations: 15.94 kB / 0.8899 GB, free: 157.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01968/1.348, allocations: 10.73 MB / 0.9004 GB, free: 146.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/1.348, allocations: 0 / 0.9004 GB, free: 146.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003638/1.352, allocations: 0.7722 MB / 0.9011 GB, free: 145.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001697/1.354, allocations: 0.738 MB / 0.9019 GB, free: 144.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004281/1.354, allocations: 83.94 kB / 0.9019 GB, free: 144.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009055/1.363, allocations: 9.811 MB / 0.9115 GB, free: 134.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.363, allocations: 7.938 kB / 0.9115 GB, free: 134.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01913/1.382, allocations: 9.083 MB / 0.9204 GB, free: 125.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002396/1.385, allocations: 0.9373 MB / 0.9213 GB, free: 124.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009513/1.386, allocations: 67.98 kB / 0.9214 GB, free: 124.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003957/1.39, allocations: 435.3 kB / 0.9218 GB, free: 123.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000702/1.39, allocations: 214.2 kB / 0.922 GB, free: 123.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003915/1.391, allocations: 116.1 kB / 0.9221 GB, free: 123.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003085/1.394, allocations: 1.92 MB / 0.924 GB, free: 121.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.21e-07/1.394, allocations: 0 / 0.924 GB, free: 121.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004192/1.398, allocations: 1.231 MB / 0.9252 GB, free: 120.4 MB / 0.6387 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.002804/1.401, allocations: 1.03 MB / 0.9262 GB, free: 119.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01161/1.413, allocations: 5.517 MB / 0.9316 GB, free: 114.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/1.413, allocations: 3.938 kB / 0.9316 GB, free: 114.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006399/1.419, allocations: 3.337 MB / 0.9348 GB, free: 110.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004586/1.424, allocations: 0.7207 MB / 0.9355 GB, free: 110.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/1.441, allocations: 10.8 MB / 0.9461 GB, free: 99.38 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003012/1.444, allocations: 2.698 MB / 0.9487 GB, free: 96.65 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005413/1.45, allocations: 1.156 MB / 0.9499 GB, free: 95.49 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001758/1.451, allocations: 279.3 kB / 0.9501 GB, free: 95.22 MB / 0.6387 GB Notification: Performance of SimCode: time 1.102e-06/1.451, allocations: 0 / 0.9501 GB, free: 95.22 MB / 0.6387 GB Notification: Performance of Templates: time 0.07666/1.528, allocations: 51.66 MB / 1.001 GB, free: 44.02 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)