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.001143/0.001143, allocations: 107.6 kB / 17.03 MB, free: 5.656 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.001077/0.001077, allocations: 192.1 kB / 17.97 MB, free: 5.062 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.27/1.27, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6762/0.6762, allocations: 115.1 MB / 406.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 64.14 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3208, allocations: 76.14 MB / 0.5576 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1667/0.4875, allocations: 171 MB / 0.7245 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005878/0.4935, allocations: 4.279 MB / 0.7287 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006127/0.4941, allocations: 27.81 kB / 0.7287 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009364/0.495, allocations: 350 kB / 0.7291 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002142/0.4972, allocations: 1.007 MB / 0.73 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001909/0.4991, allocations: 0.809 MB / 0.7308 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001537/0.5007, allocations: 1.295 MB / 0.7321 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006547/0.5014, allocations: 486.8 kB / 0.7326 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.5025, allocations: 0.6694 MB / 0.7332 GB, free: 96 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.5036, allocations: 450.3 kB / 0.7337 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.5037, allocations: 52 kB / 0.7337 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.5051, allocations: 0.9158 MB / 0.7346 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000207/0.5053, allocations: 215.4 kB / 0.7348 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003243/0.5057, allocations: 326.5 kB / 0.7351 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.5069, allocations: 1.137 MB / 0.7362 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.507, allocations: 0 / 0.7362 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.507, allocations: 0 / 0.7362 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.507, allocations: 0 / 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.001462/0.5084, allocations: 0.9388 MB / 0.7371 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.5085, allocations: 15.97 kB / 0.7372 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/0.51, allocations: 267 kB / 0.7374 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008434/0.5109, allocations: 497.4 kB / 0.7379 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.5109, allocations: 37 kB / 0.7379 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/0.511, allocations: 39.98 kB / 0.738 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.5121, allocations: 0.6107 MB / 0.7386 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.5122, allocations: 0 / 0.7386 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.361e-05/0.5122, allocations: 24 kB / 0.7386 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.121e-05/0.5123, allocations: 20.98 kB / 0.7386 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.5137, allocations: 0.5464 MB / 0.7391 GB, free: 9.918 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.00362/0.5173, allocations: 2.257 MB / 0.7413 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008757/0.5182, allocations: 282.3 kB / 0.7416 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004825/0.5187, allocations: 164.7 kB / 0.7418 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/0.5187, allocations: 15.92 kB / 0.7418 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.5187, allocations: 42.48 kB / 0.7418 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.5187, allocations: 0 / 0.7418 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.004759/0.5235, allocations: 1.088 MB / 0.7429 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.5236, allocations: 81.11 kB / 0.743 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005773/0.5242, allocations: 0.5573 MB / 0.7435 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.5242, allocations: 25.7 kB / 0.7435 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.5244, allocations: 303.7 kB / 0.7438 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.5245, allocations: 39.45 kB / 0.7439 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.5246, allocations: 61.64 kB / 0.7439 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5247, allocations: 358.8 kB / 0.7443 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005268/0.5252, allocations: 187.8 kB / 0.7444 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000566/0.5258, allocations: 270.3 kB / 0.7447 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000993/0.5268, allocations: 402.5 kB / 0.7451 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.5268, allocations: 4 kB / 0.7451 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002397/0.5292, allocations: 0.7247 MB / 0.7458 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.5293, allocations: 6.188 kB / 0.7458 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.5293, allocations: 4 kB / 0.7458 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006011/0.5299, allocations: 188.7 kB / 0.746 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/0.5302, allocations: 71.94 kB / 0.746 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0037/0.5339, allocations: 2.248 MB / 0.7482 GB, free: 152 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005654/0.5345, allocations: 71.55 kB / 0.7483 GB, free: 80 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.5346, allocations: 16 kB / 0.7483 GB, free: 64 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.241/0.7755, allocations: 181.4 kB / 0.7485 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.7758, allocations: 54.02 kB / 0.7485 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.7759, allocations: 56.5 kB / 0.7486 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.776, allocations: 1.438 kB / 0.7486 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.776, allocations: 0.5156 kB / 0.7486 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.776, allocations: 1.219 kB / 0.7486 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003653/0.7796, allocations: 1.127 MB / 0.7497 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.7797, allocations: 1.312 kB / 0.7497 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.7799, allocations: 38.67 kB / 0.7497 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005933/0.7805, allocations: 185.1 kB / 0.7499 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.7806, allocations: 4.438 kB / 0.7499 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003304/0.7839, allocations: 2.194 MB / 0.7521 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.7839, allocations: 0.9688 kB / 0.7521 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002422/0.7863, allocations: 0.702 MB / 0.7528 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003088/0.7866, allocations: 165.7 kB / 0.7529 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.617e-05/0.7867, allocations: 5 kB / 0.7529 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006009/0.7873, allocations: 51.53 kB / 0.753 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.7874, allocations: 14.33 kB / 0.753 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.443e-05/0.7875, allocations: 20.17 kB / 0.753 GB, free: 173 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005203/0.788, allocations: 390.7 kB / 0.7534 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.91e-07/0.788, allocations: 1.625 kB / 0.7534 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000672/0.7887, allocations: 181.9 kB / 0.7535 GB, free: 172.8 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.0004147/0.7891, allocations: 171.9 kB / 0.7537 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001546/0.7907, allocations: 0.519 MB / 0.7542 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.7907, allocations: 0 / 0.7542 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007059/0.7914, allocations: 304.8 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.00139/0.7928, allocations: 304.8 kB / 0.7548 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/0.7958, allocations: 1.063 MB / 0.7558 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.7962, allocations: 0.8628 MB / 0.7567 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000433/0.7966, allocations: 106.9 kB / 0.7568 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.873e-05/0.7967, allocations: 35.25 kB / 0.7568 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/0.7968, allocations: 1 kB / 0.7568 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.02097/0.8177, allocations: 12.4 MB / 0.7689 GB, free: 168.7 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)