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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 181.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7104/0.7104, allocations: 133.4 MB / 150.1 MB, free: 11.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 222.9 MB / 404.7 MB, free: 6.094 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 107.6 kB / 485.9 MB, free: 7.23 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 55.91 kB / 0.5636 GB, free: 69.94 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1671, allocations: 80.43 MB / 0.6421 GB, free: 5.441 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.5655/0.7327, allocations: 157.8 MB / 0.7962 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.03244/0.7652, allocations: 26.43 MB / 0.822 GB, free: 8.785 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003802/0.769, allocations: 67.56 kB / 0.8221 GB, free: 8.719 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002263/0.7713, allocations: 0.8752 MB / 0.8229 GB, free: 7.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004923/0.7763, allocations: 1.471 MB / 0.8244 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004064/0.7804, allocations: 1.45 MB / 0.8258 GB, free: 4.934 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.005652/0.786, allocations: 4.813 MB / 0.8305 GB, free: 112 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004412/0.7905, allocations: 3.692 MB / 0.8341 GB, free: 12.35 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002559/0.793, allocations: 1.607 MB / 0.8357 GB, free: 10.74 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002674/0.7957, allocations: 2.183 MB / 0.8378 GB, free: 8.547 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004776/0.7962, allocations: 232 kB / 0.838 GB, free: 8.32 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.7982, allocations: 0.8272 MB / 0.8388 GB, free: 7.492 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0007686/0.7989, allocations: 0.9029 MB / 0.8397 GB, free: 6.586 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001861/0.8008, allocations: 1.705 MB / 0.8414 GB, free: 4.871 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.005365/0.8062, allocations: 5.226 MB / 0.8465 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.8062, allocations: 0 / 0.8465 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.92e-07/0.8062, allocations: 0 / 0.8465 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.682e-05/0.8063, allocations: 0 / 0.8465 GB, free: 15.62 MB / 0.5886 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.00878/0.8151, allocations: 4.301 MB / 0.8507 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/0.8152, allocations: 12.02 kB / 0.8507 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01279/0.828, allocations: 2.749 MB / 0.8534 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005264/0.8333, allocations: 2.2 MB / 0.8555 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001711/0.8335, allocations: 226.2 kB / 0.8557 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006076/0.8341, allocations: 300 kB / 0.856 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0116/0.8457, allocations: 4.963 MB / 0.8609 GB, free: 0.6758 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.872e-05/0.8458, allocations: 3.906 kB / 0.8609 GB, free: 0.6719 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003403/0.8462, allocations: 132 kB / 0.861 GB, free: 0.543 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.699e-05/0.8463, allocations: 83.88 kB / 0.8611 GB, free: 472 kB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0145/0.8608, allocations: 6.095 MB / 0.867 GB, free: 10.35 MB / 0.6042 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.02457/0.8854, allocations: 13.63 MB / 0.8803 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00923/0.8946, allocations: 4.34 MB / 0.8846 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004725/0.8994, allocations: 2.315 MB / 0.8868 GB, free: 5.613 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008864/0.9003, allocations: 0.6696 MB / 0.8875 GB, free: 4.812 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004923/0.9053, allocations: 2.374 MB / 0.8898 GB, free: 2.402 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=257): time 4.9e-06/0.9053, allocations: 0 / 0.8898 GB, free: 2.402 MB / 0.6198 GB Notification: Performance of matching and sorting (n=257): time 0.01651/0.9218, allocations: 6.943 MB / 0.8966 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.9219, allocations: 210 kB / 0.8968 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00404/0.926, allocations: 2.303 MB / 0.899 GB, free: 8.746 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003207/0.9263, allocations: 77.62 kB / 0.8991 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001334/0.9277, allocations: 1.301 MB / 0.9004 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001011/0.9287, allocations: 0.8471 MB / 0.9012 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/0.9299, allocations: 484.1 kB / 0.9017 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.93, allocations: 305.1 kB / 0.902 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004511/0.9345, allocations: 1.886 MB / 0.9038 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004776/0.9393, allocations: 2.193 MB / 0.9059 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009614/0.9489, allocations: 4.058 MB / 0.9099 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.263e-05/0.949, allocations: 4 kB / 0.9099 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01318/0.9622, allocations: 4.703 MB / 0.9145 GB, free: 8.637 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.827e-05/0.9623, allocations: 12.05 kB / 0.9145 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/0.9623, allocations: 7.938 kB / 0.9145 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008887/0.9632, allocations: 226.4 kB / 0.9147 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003948/0.9672, allocations: 0.7723 MB / 0.9155 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004307/0.9715, allocations: 3.094 MB / 0.9185 GB, free: 4.391 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003886/0.9754, allocations: 0.5364 MB / 0.919 GB, free: 3.852 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000546/0.976, allocations: 107.9 kB / 0.9191 GB, free: 3.746 MB / 0.6511 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.002411/0.9784, allocations: 0.8992 MB / 0.92 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001122/0.9796, allocations: 256.8 kB / 0.9203 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/0.9936, allocations: 5.264 MB / 0.9254 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.638e-05/0.9936, allocations: 24 kB / 0.9254 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.937e-05/0.9937, allocations: 4 kB / 0.9254 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.824e-05/0.9937, allocations: 11.95 kB / 0.9254 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02028/1.014, allocations: 8.833 MB / 0.9341 GB, free: 4.242 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/1.014, allocations: 4 kB / 0.9341 GB, free: 4.238 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00361/1.018, allocations: 0.7254 MB / 0.9348 GB, free: 3.512 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008847/1.019, allocations: 255.5 kB / 0.935 GB, free: 3.254 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003595/1.019, allocations: 75.92 kB / 0.9351 GB, free: 3.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005032/1.024, allocations: 4.807 MB / 0.9398 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.024, allocations: 8.094 kB / 0.9398 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6875/1.712, allocations: 122.2 MB / 1.059 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002185/1.714, allocations: 0.7744 MB / 1.06 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005327/1.714, allocations: 55.84 kB / 1.06 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002909/1.717, allocations: 402.8 kB / 1.06 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003815/1.718, allocations: 166.8 kB / 1.061 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002147/1.718, allocations: 95.94 kB / 1.061 GB, free: 167 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00183/1.72, allocations: 1.68 MB / 1.062 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/1.72, allocations: 0 / 1.062 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004509/1.724, allocations: 1.505 MB / 1.064 GB, free: 163.8 MB / 0.6823 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.002412/1.727, allocations: 1.07 MB / 1.065 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009788/1.737, allocations: 4.573 MB / 1.069 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.737, allocations: 4 kB / 1.069 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.005077/1.742, allocations: 2.616 MB / 1.072 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003/1.745, allocations: 0.6007 MB / 1.072 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/1.761, allocations: 11.08 MB / 1.083 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001964/1.763, allocations: 2.446 MB / 1.086 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.006417/1.77, allocations: 1.412 MB / 1.087 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002668/1.772, allocations: 319.2 kB / 1.087 GB, free: 140 MB / 0.6823 GB Notification: Performance of SimCode: time 8.92e-07/1.772, allocations: 4 kB / 1.087 GB, free: 140 MB / 0.6823 GB Notification: Performance of Templates: time 0.1182/1.891, allocations: 91.34 MB / 1.176 GB, free: 48.77 MB / 0.6823 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 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)