Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006718/0.0006717, allocations: 92.95 kB / 16.02 MB, free: 84 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.0008304/0.0008307, allocations: 177.9 kB / 16.92 MB, free: 6.68 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.409/1.409, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6776/0.6776, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002969/0.0002969, allocations: 8 kB / 495.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1583, allocations: 77.54 MB / 0.56 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4686/0.6269, allocations: 166.5 MB / 0.7226 GB, free: 304 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006426/0.6334, allocations: 4.291 MB / 0.7267 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005336/0.634, allocations: 19.88 kB / 0.7268 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009106/0.6349, allocations: 302.5 kB / 0.7271 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002196/0.6371, allocations: 0.9375 MB / 0.728 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.6389, allocations: 0.7325 MB / 0.7287 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00186/0.6408, allocations: 1.793 MB / 0.7304 GB, free: 8.215 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005408/0.6413, allocations: 398.2 kB / 0.7308 GB, free: 7.824 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009871/0.6423, allocations: 0.5874 MB / 0.7314 GB, free: 7.234 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009309/0.6433, allocations: 450.8 kB / 0.7318 GB, free: 6.797 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.595e-05/0.6433, allocations: 20 kB / 0.7318 GB, free: 6.777 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/0.6449, allocations: 1.009 MB / 0.7328 GB, free: 5.766 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.6451, allocations: 183.4 kB / 0.733 GB, free: 5.586 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003286/0.6454, allocations: 316.2 kB / 0.7333 GB, free: 5.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.6469, allocations: 1.133 MB / 0.7344 GB, free: 4.133 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.6469, allocations: 0 / 0.7344 GB, free: 4.133 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.705e-06/0.6469, allocations: 0 / 0.7344 GB, free: 4.133 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.6469, allocations: 0 / 0.7344 GB, free: 4.133 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001558/0.6485, allocations: 0.8382 MB / 0.7352 GB, free: 3.246 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.6485, allocations: 8.031 kB / 0.7352 GB, free: 3.238 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/0.6502, allocations: 287.1 kB / 0.7355 GB, free: 2.957 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007649/0.651, allocations: 495.2 kB / 0.736 GB, free: 2.438 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003312/0.6513, allocations: 100.9 kB / 0.7361 GB, free: 2.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.502e-05/0.6514, allocations: 40 kB / 0.7361 GB, free: 2.301 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.6527, allocations: 0.6341 MB / 0.7367 GB, free: 1.641 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.6528, allocations: 0 / 0.7367 GB, free: 1.641 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-05/0.6528, allocations: 24 kB / 0.7368 GB, free: 1.617 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.22e-05/0.6529, allocations: 20.98 kB / 0.7368 GB, free: 1.598 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.6544, allocations: 0.5854 MB / 0.7374 GB, free: 1.008 MB / 0.545 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.004196/0.6586, allocations: 2.3 MB / 0.7396 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.6596, allocations: 318.3 kB / 0.7399 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005992/0.6602, allocations: 184.7 kB / 0.7401 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.6603, allocations: 7.938 kB / 0.7401 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.6603, allocations: 34.55 kB / 0.7401 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 3.547e-06/0.6603, allocations: 3.984 kB / 0.7401 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.005419/0.6657, allocations: 1.197 MB / 0.7413 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.6658, allocations: 81.11 kB / 0.7414 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006301/0.6664, allocations: 0.5495 MB / 0.7419 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.97e-05/0.6665, allocations: 33.7 kB / 0.7419 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.6667, allocations: 299.5 kB / 0.7422 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.6668, allocations: 39.45 kB / 0.7423 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.6668, allocations: 29.7 kB / 0.7423 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.667, allocations: 354.8 kB / 0.7426 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006689/0.6677, allocations: 212.3 kB / 0.7428 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006984/0.6684, allocations: 293.2 kB / 0.7431 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/0.6697, allocations: 452.2 kB / 0.7435 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6697, allocations: 0 / 0.7435 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002827/0.6725, allocations: 0.78 MB / 0.7443 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.6725, allocations: 8 kB / 0.7443 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6726, allocations: 0 / 0.7443 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006528/0.6732, allocations: 192.8 kB / 0.7445 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003992/0.6736, allocations: 79.88 kB / 0.7446 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003787/0.6774, allocations: 2.11 MB / 0.7466 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006542/0.6781, allocations: 95.33 kB / 0.7467 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.6781, allocations: 15.98 kB / 0.7467 GB, free: 6.961 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002457/0.6784, allocations: 185.8 kB / 0.7469 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.026e-05/0.6785, allocations: 51.44 kB / 0.747 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.659e-05/0.6786, allocations: 56.03 kB / 0.747 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.6786, allocations: 0 / 0.747 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.6786, allocations: 3.938 kB / 0.747 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.6786, allocations: 3.938 kB / 0.747 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003211/0.6818, allocations: 1.187 MB / 0.7482 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.6818, allocations: 0 / 0.7482 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.6821, allocations: 51.95 kB / 0.7482 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005497/0.6827, allocations: 188.7 kB / 0.7484 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.6827, allocations: 4 kB / 0.7484 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003535/0.6862, allocations: 2.073 MB / 0.7504 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.6863, allocations: 0 / 0.7504 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.6889, allocations: 0.751 MB / 0.7512 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.6892, allocations: 164.5 kB / 0.7513 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.508e-05/0.6893, allocations: 4 kB / 0.7513 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006508/0.6899, allocations: 68.78 kB / 0.7514 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.69, allocations: 11.98 kB / 0.7514 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.45e-05/0.69, allocations: 19.92 kB / 0.7514 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004799/0.6905, allocations: 398.8 kB / 0.7518 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6905, allocations: 0 / 0.7518 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000699/0.6912, allocations: 187.8 kB / 0.752 GB, free: 1.324 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000425/0.6917, allocations: 182.5 kB / 0.7522 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001711/0.6934, allocations: 0.5611 MB / 0.7527 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.6934, allocations: 0 / 0.7527 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007799/0.6942, allocations: 326.8 kB / 0.753 GB, free: 252 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.6957, allocations: 286 kB / 0.7533 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/0.6989, allocations: 1.29 MB / 0.7546 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.6994, allocations: 0.8624 MB / 0.7554 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000441/0.6998, allocations: 104.5 kB / 0.7555 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.803e-05/0.6999, allocations: 35.44 kB / 0.7555 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.6999, allocations: 0 / 0.7555 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of Templates: time 0.02168/0.7216, allocations: 11.79 MB / 0.767 GB, free: 2.004 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)