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.001168/0.001168, allocations: 115.2 kB / 17.04 MB, free: 5.812 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.001189/0.001189, allocations: 195 kB / 17.98 MB, free: 5.027 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.303/1.303, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7142/0.7142, allocations: 115.1 MB / 406.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.304, allocations: 76.14 MB / 0.5576 GB, free: 36.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1596/0.4637, allocations: 171 MB / 0.7245 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005906/0.4696, allocations: 4.284 MB / 0.7287 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004491/0.4701, allocations: 19.88 kB / 0.7287 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008884/0.471, allocations: 354 kB / 0.7291 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002044/0.4731, allocations: 0.9954 MB / 0.7301 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002131/0.4752, allocations: 0.8147 MB / 0.7308 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001689/0.4769, allocations: 1.294 MB / 0.7321 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005849/0.4775, allocations: 486.9 kB / 0.7326 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.4786, allocations: 0.6732 MB / 0.7332 GB, free: 92 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009301/0.4795, allocations: 445.8 kB / 0.7337 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.994e-05/0.4796, allocations: 56 kB / 0.7337 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.481, allocations: 0.9121 MB / 0.7346 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.4813, allocations: 215.4 kB / 0.7348 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003179/0.4816, allocations: 326.5 kB / 0.7351 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.4829, allocations: 1.134 MB / 0.7362 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4829, allocations: 0 / 0.7362 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.243e-06/0.4829, allocations: 0 / 0.7362 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.4829, allocations: 4 kB / 0.7362 GB, free: 13.02 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.001544/0.4845, allocations: 0.9505 MB / 0.7372 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.4845, allocations: 8.031 kB / 0.7372 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.4862, allocations: 263 kB / 0.7374 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008832/0.4871, allocations: 0.4897 MB / 0.7379 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/0.4871, allocations: 32.94 kB / 0.7379 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.25e-05/0.4872, allocations: 44 kB / 0.738 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.4884, allocations: 0.6068 MB / 0.7386 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.4885, allocations: 4 kB / 0.7386 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.535e-05/0.4885, allocations: 27.88 kB / 0.7386 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/0.4886, allocations: 25 kB / 0.7386 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.4899, allocations: 0.5425 MB / 0.7391 GB, free: 9.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.003908/0.4939, allocations: 2.264 MB / 0.7414 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008978/0.4948, allocations: 278.4 kB / 0.7416 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005248/0.4953, allocations: 168.7 kB / 0.7418 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.4954, allocations: 3.938 kB / 0.7418 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.4954, allocations: 38.56 kB / 0.7418 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.4954, allocations: 0 / 0.7418 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.004951/0.5003, allocations: 1.094 MB / 0.7429 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.5004, allocations: 81.11 kB / 0.743 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005986/0.501, allocations: 0.5534 MB / 0.7435 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.5011, allocations: 29.7 kB / 0.7435 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.5013, allocations: 299.5 kB / 0.7438 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.5013, allocations: 39.44 kB / 0.7439 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.5014, allocations: 65.69 kB / 0.7439 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.5016, allocations: 358.7 kB / 0.7443 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005805/0.5022, allocations: 191.8 kB / 0.7444 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006035/0.5028, allocations: 262.3 kB / 0.7447 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.5039, allocations: 407.8 kB / 0.7451 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5039, allocations: 0 / 0.7451 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002634/0.5065, allocations: 0.7277 MB / 0.7458 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.5065, allocations: 4 kB / 0.7458 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.5065, allocations: 4.094 kB / 0.7458 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006219/0.5072, allocations: 188.7 kB / 0.746 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/0.5076, allocations: 71.89 kB / 0.7461 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003782/0.5114, allocations: 2.236 MB / 0.7482 GB, free: 164 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006068/0.512, allocations: 75.47 kB / 0.7483 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.512, allocations: 12 kB / 0.7483 GB, free: 76 kB / 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.2029/0.7149, allocations: 191 kB / 0.7485 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.7151, allocations: 50.89 kB / 0.7486 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.7152, allocations: 54.72 kB / 0.7486 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.7152, allocations: 1.953 kB / 0.7486 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.7152, allocations: 0.8438 kB / 0.7486 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.7152, allocations: 1.219 kB / 0.7486 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003325/0.7186, allocations: 1.135 MB / 0.7497 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.7186, allocations: 1.094 kB / 0.7497 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.7189, allocations: 39.17 kB / 0.7498 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000567/0.7194, allocations: 177.4 kB / 0.7499 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.7195, allocations: 8.484 kB / 0.7499 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003321/0.7228, allocations: 2.195 MB / 0.7521 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.7228, allocations: 0.875 kB / 0.7521 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/0.7254, allocations: 0.7008 MB / 0.7528 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002988/0.7257, allocations: 170.2 kB / 0.7529 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.575e-05/0.7258, allocations: 5.859 kB / 0.7529 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005854/0.7263, allocations: 54.08 kB / 0.753 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.7264, allocations: 10.5 kB / 0.753 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-05/0.7265, allocations: 16.81 kB / 0.753 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004973/0.727, allocations: 392.3 kB / 0.7534 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.727, allocations: 0 / 0.7534 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006637/0.7277, allocations: 180.8 kB / 0.7536 GB, free: 172.9 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.000391/0.7281, allocations: 171.8 kB / 0.7537 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00157/0.7296, allocations: 0.5308 MB / 0.7542 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.7296, allocations: 0.6875 kB / 0.7542 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007206/0.7304, allocations: 300.3 kB / 0.7545 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.7318, allocations: 308.1 kB / 0.7548 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/0.7348, allocations: 1.06 MB / 0.7558 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.7352, allocations: 0.8627 MB / 0.7567 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004077/0.7356, allocations: 103.3 kB / 0.7568 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.701e-05/0.7357, allocations: 35.62 kB / 0.7568 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.7357, allocations: 1.219 kB / 0.7568 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.02111/0.7568, allocations: 12.39 MB / 0.7689 GB, free: 168.8 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)