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.005748/0.005748, allocations: 100.8 kB / 15.87 MB, free: 6.312 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.001173/0.001173, allocations: 197.5 kB / 16.79 MB, free: 6.242 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.393/1.393, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7279/0.7279, allocations: 122.9 MB / 413.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 60 kB / 0.4904 GB, free: 14.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.188, allocations: 77.94 MB / 0.5665 GB, free: 0.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5691/0.7572, allocations: 168.7 MB / 0.7313 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006971/0.7642, allocations: 4.34 MB / 0.7355 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009798/0.7652, allocations: 15.94 kB / 0.7355 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.7664, allocations: 298.5 kB / 0.7358 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002659/0.7691, allocations: 0.9492 MB / 0.7367 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002258/0.7714, allocations: 0.7201 MB / 0.7374 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002266/0.7736, allocations: 1.796 MB / 0.7392 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006692/0.7743, allocations: 414.9 kB / 0.7396 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.7757, allocations: 0.5953 MB / 0.7402 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.777, allocations: 474.2 kB / 0.7406 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.883e-05/0.7771, allocations: 28 kB / 0.7407 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.779, allocations: 1.002 MB / 0.7416 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002476/0.7792, allocations: 187.5 kB / 0.7418 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004617/0.7797, allocations: 322.5 kB / 0.7421 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.7813, allocations: 1.141 MB / 0.7432 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.7813, allocations: 0 / 0.7432 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.042e-06/0.7813, allocations: 0 / 0.7432 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.7814, allocations: 0 / 0.7432 GB, free: 3.074 MB / 0.5606 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.001895/0.7833, allocations: 0.9549 MB / 0.7442 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.7833, allocations: 8.031 kB / 0.7442 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/0.7851, allocations: 267 kB / 0.7444 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009584/0.786, allocations: 481.4 kB / 0.7449 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003467/0.7864, allocations: 92.88 kB / 0.745 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.888e-05/0.7865, allocations: 40 kB / 0.745 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.7879, allocations: 0.6185 MB / 0.7456 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.788, allocations: 0 / 0.7456 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.996e-05/0.7881, allocations: 27.98 kB / 0.7456 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.835e-05/0.7881, allocations: 17 kB / 0.7457 GB, free: 488 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.7895, allocations: 0.5582 MB / 0.7462 GB, free: 15.91 MB / 0.5762 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.004327/0.7939, allocations: 2.28 MB / 0.7484 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009625/0.7949, allocations: 290.3 kB / 0.7487 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005302/0.7954, allocations: 176.7 kB / 0.7489 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.7954, allocations: 7.922 kB / 0.7489 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.7955, allocations: 38.5 kB / 0.7489 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 2.895e-06/0.7955, allocations: 0 / 0.7489 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.005271/0.8008, allocations: 1.11 MB / 0.75 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.8009, allocations: 77.11 kB / 0.7501 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007352/0.8016, allocations: 0.5495 MB / 0.7506 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.262e-05/0.8017, allocations: 33.7 kB / 0.7506 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.8019, allocations: 299.5 kB / 0.7509 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.362e-05/0.8019, allocations: 43.45 kB / 0.751 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.8021, allocations: 57.59 kB / 0.751 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.8022, allocations: 358.8 kB / 0.7514 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006004/0.8028, allocations: 196.3 kB / 0.7516 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000642/0.8035, allocations: 279.3 kB / 0.7518 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.8046, allocations: 419.8 kB / 0.7522 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.8047, allocations: 4 kB / 0.7522 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002778/0.8074, allocations: 0.7335 MB / 0.7529 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.8075, allocations: 8 kB / 0.753 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.8075, allocations: 0 / 0.753 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006648/0.8082, allocations: 196.7 kB / 0.7531 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.8086, allocations: 63.94 kB / 0.7532 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003668/0.8122, allocations: 2.087 MB / 0.7552 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007305/0.813, allocations: 91.33 kB / 0.7553 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.813, allocations: 15.98 kB / 0.7553 GB, free: 6.117 MB / 0.5762 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.0003307/0.8134, allocations: 183.8 kB / 0.7555 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.982e-05/0.8135, allocations: 52.31 kB / 0.7556 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.727e-05/0.8136, allocations: 55.97 kB / 0.7556 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.8136, allocations: 7.938 kB / 0.7556 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.8136, allocations: 4 kB / 0.7556 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.8136, allocations: 3.938 kB / 0.7556 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003001/0.8166, allocations: 1.125 MB / 0.7567 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.8166, allocations: 0 / 0.7567 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.8169, allocations: 44.2 kB / 0.7568 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000527/0.8174, allocations: 192.7 kB / 0.757 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.8175, allocations: 0 / 0.757 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003283/0.8207, allocations: 2.037 MB / 0.759 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.8208, allocations: 4.031 kB / 0.759 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002527/0.8233, allocations: 0.7083 MB / 0.7596 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/0.8236, allocations: 172.4 kB / 0.7598 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.907e-05/0.8237, allocations: 0 / 0.7598 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006032/0.8243, allocations: 63.88 kB / 0.7599 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.488e-05/0.8244, allocations: 15.97 kB / 0.7599 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/0.8244, allocations: 15.98 kB / 0.7599 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004814/0.8249, allocations: 390.8 kB / 0.7603 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8249, allocations: 0 / 0.7603 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006896/0.8256, allocations: 191.7 kB / 0.7605 GB, free: 0.625 MB / 0.5762 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.0004317/0.8261, allocations: 174.5 kB / 0.7606 GB, free: 464 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001608/0.8277, allocations: 0.5296 MB / 0.7611 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8277, allocations: 96 / 0.7611 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007142/0.8284, allocations: 314.8 kB / 0.7614 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.8298, allocations: 290.9 kB / 0.7617 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003169/0.833, allocations: 1.232 MB / 0.7629 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.8335, allocations: 0.8663 MB / 0.7638 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004704/0.8339, allocations: 98.72 kB / 0.7639 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.834, allocations: 39.42 kB / 0.7639 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of SimCode: time 9.42e-07/0.8341, allocations: 0 / 0.7639 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of Templates: time 0.0215/0.8556, allocations: 11.85 MB / 0.7755 GB, free: 1.336 MB / 0.5919 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)