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.0009048/0.0009049, allocations: 98.66 kB / 16.02 MB, free: 80 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.0008228/0.0008227, allocations: 184.8 kB / 16.92 MB, free: 6.754 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.375/1.375, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7418/0.7418, allocations: 123 MB / 415.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003037, allocations: 8 kB / 0.4933 GB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4568/0.4571, allocations: 79.28 MB / 0.5707 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2084/0.6656, allocations: 166.5 MB / 0.7333 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007774/0.6734, allocations: 4.299 MB / 0.7375 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.6746, allocations: 19.88 kB / 0.7376 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.6759, allocations: 298.5 kB / 0.7379 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003301/0.6792, allocations: 0.9375 MB / 0.7388 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.6819, allocations: 0.7207 MB / 0.7395 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002561/0.6845, allocations: 1.801 MB / 0.7412 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006436/0.6852, allocations: 402.3 kB / 0.7416 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.6865, allocations: 0.5757 MB / 0.7422 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.6876, allocations: 467.8 kB / 0.7426 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.611e-05/0.6877, allocations: 20 kB / 0.7426 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.6896, allocations: 1.002 MB / 0.7436 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.6899, allocations: 183.4 kB / 0.7438 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003453/0.6902, allocations: 324.2 kB / 0.7441 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.6916, allocations: 1.125 MB / 0.7452 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6917, allocations: 0 / 0.7452 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6917, allocations: 0 / 0.7452 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.6917, allocations: 0 / 0.7452 GB, free: 9.367 MB / 0.5762 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.001673/0.6934, allocations: 0.8499 MB / 0.746 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.6934, allocations: 8.031 kB / 0.746 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/0.6951, allocations: 279 kB / 0.7463 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008378/0.6959, allocations: 489.4 kB / 0.7468 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003473/0.6963, allocations: 96.94 kB / 0.7469 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.516e-05/0.6964, allocations: 40 kB / 0.7469 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.6977, allocations: 0.6419 MB / 0.7475 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.6978, allocations: 4 kB / 0.7475 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.789e-05/0.6978, allocations: 16 kB / 0.7475 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.699e-05/0.6979, allocations: 20.98 kB / 0.7476 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.6994, allocations: 0.5894 MB / 0.7481 GB, free: 6.238 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.004109/0.7035, allocations: 2.296 MB / 0.7504 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.7046, allocations: 318.3 kB / 0.7507 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006151/0.7052, allocations: 196.6 kB / 0.7509 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.7052, allocations: 0 / 0.7509 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.7053, allocations: 42.56 kB / 0.7509 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 2.004e-06/0.7053, allocations: 0 / 0.7509 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.005581/0.7109, allocations: 1.182 MB / 0.7521 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.7109, allocations: 81.05 kB / 0.7521 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006996/0.7117, allocations: 0.5496 MB / 0.7527 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.827e-05/0.7117, allocations: 33.7 kB / 0.7527 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.712, allocations: 303.4 kB / 0.753 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/0.712, allocations: 43.45 kB / 0.753 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/0.7121, allocations: 29.7 kB / 0.7531 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.7122, allocations: 354.8 kB / 0.7534 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006539/0.7129, allocations: 208.3 kB / 0.7536 GB, free: 408 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006956/0.7136, allocations: 295.2 kB / 0.7539 GB, free: 80 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.7149, allocations: 452.3 kB / 0.7543 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.7149, allocations: 3.938 kB / 0.7543 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002875/0.7178, allocations: 0.7803 MB / 0.7551 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.7178, allocations: 4 kB / 0.7551 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.7178, allocations: 4 kB / 0.7551 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006834/0.7185, allocations: 196.8 kB / 0.7553 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.7189, allocations: 79.88 kB / 0.7554 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00387/0.7228, allocations: 2.118 MB / 0.7574 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007425/0.7236, allocations: 91.47 kB / 0.7575 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.7236, allocations: 15.98 kB / 0.7575 GB, free: 12.18 MB / 0.5919 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.0003634/0.724, allocations: 189.8 kB / 0.7577 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.431e-05/0.7241, allocations: 51.44 kB / 0.7578 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.848e-05/0.7242, allocations: 48.03 kB / 0.7578 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.7242, allocations: 4 kB / 0.7578 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7242, allocations: 3.938 kB / 0.7578 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.7242, allocations: 0 / 0.7578 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003164/0.7274, allocations: 1.195 MB / 0.759 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.7274, allocations: 0 / 0.759 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.7277, allocations: 48.02 kB / 0.759 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005615/0.7282, allocations: 188.6 kB / 0.7592 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.7283, allocations: 4 kB / 0.7592 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003455/0.7317, allocations: 2.073 MB / 0.7612 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.7317, allocations: 0 / 0.7612 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002669/0.7344, allocations: 0.7587 MB / 0.762 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.7347, allocations: 160.5 kB / 0.7621 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.844e-05/0.7348, allocations: 8 kB / 0.7621 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006334/0.7354, allocations: 68.81 kB / 0.7622 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.401e-05/0.7355, allocations: 15.97 kB / 0.7622 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.514e-05/0.7355, allocations: 11.98 kB / 0.7622 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004792/0.736, allocations: 390.8 kB / 0.7626 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.01e-07/0.736, allocations: 3.938 kB / 0.7626 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006906/0.7367, allocations: 183.9 kB / 0.7628 GB, free: 6.539 MB / 0.5919 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.0004506/0.7372, allocations: 180.4 kB / 0.763 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001688/0.7389, allocations: 0.557 MB / 0.7635 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7389, allocations: 0 / 0.7635 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007734/0.7397, allocations: 323 kB / 0.7638 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.7412, allocations: 294 kB / 0.7641 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/0.7445, allocations: 1.282 MB / 0.7653 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004859/0.745, allocations: 0.8662 MB / 0.7662 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004447/0.7455, allocations: 108.5 kB / 0.7663 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.7456, allocations: 35.44 kB / 0.7663 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of SimCode: time 7.41e-07/0.7456, allocations: 0 / 0.7663 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of Templates: time 0.02024/0.7658, allocations: 11.79 MB / 0.7778 GB, free: 7.203 MB / 0.6075 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)