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.001073/0.001073, allocations: 103.5 kB / 15.99 MB, free: 6.359 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.001105/0.001105, allocations: 194 kB / 16.91 MB, free: 6.195 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.357/1.357, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7796/0.7796, allocations: 122.9 MB / 413.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.89 kB / 0.4906 GB, free: 7.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3635, allocations: 77.92 MB / 0.5667 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1989/0.5624, allocations: 168.7 MB / 0.7314 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007382/0.5699, allocations: 4.268 MB / 0.7356 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.5709, allocations: 19.88 kB / 0.7356 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.5722, allocations: 306.6 kB / 0.7359 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003136/0.5754, allocations: 0.9375 MB / 0.7368 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002678/0.5781, allocations: 0.7416 MB / 0.7375 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002302/0.5804, allocations: 1.29 MB / 0.7388 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.5815, allocations: 475.2 kB / 0.7392 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.5833, allocations: 0.6694 MB / 0.7399 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.5847, allocations: 489.4 kB / 0.7404 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.5849, allocations: 52 kB / 0.7404 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.5869, allocations: 0.947 MB / 0.7413 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003186/0.5872, allocations: 207.5 kB / 0.7415 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005887/0.5878, allocations: 334.5 kB / 0.7418 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.59, allocations: 1.165 MB / 0.743 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.59, allocations: 0 / 0.743 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of FrontEnd: time 5.711e-06/0.59, allocations: 4 kB / 0.743 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.115e-05/0.5901, allocations: 4 kB / 0.743 GB, free: 5.871 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.002824/0.5929, allocations: 0.9543 MB / 0.7439 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.593, allocations: 12.62 kB / 0.7439 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/0.5949, allocations: 251.1 kB / 0.7442 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009476/0.5959, allocations: 493.3 kB / 0.7446 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003295/0.5962, allocations: 84.94 kB / 0.7447 GB, free: 4 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.75e-05/0.5963, allocations: 40 kB / 0.7448 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.5979, allocations: 0.6271 MB / 0.7454 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.5979, allocations: 0 / 0.7454 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.542e-05/0.598, allocations: 16 kB / 0.7454 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.195e-05/0.598, allocations: 24.98 kB / 0.7454 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.5996, allocations: 0.5542 MB / 0.746 GB, free: 2.715 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.004413/0.604, allocations: 2.272 MB / 0.7482 GB, free: 320 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009862/0.605, allocations: 298.3 kB / 0.7485 GB, free: 12 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3432/0.9482, allocations: 170.7 kB / 0.7486 GB, free: 173 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.541e-05/0.9483, allocations: 3.75 kB / 0.7486 GB, free: 173 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.9483, allocations: 37.02 kB / 0.7487 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 2.455e-06/0.9483, allocations: 0.8438 kB / 0.7487 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.006041/0.9544, allocations: 1.102 MB / 0.7497 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.9544, allocations: 90.3 kB / 0.7498 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008971/0.9553, allocations: 0.5453 MB / 0.7504 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.348e-05/0.9554, allocations: 31.89 kB / 0.7504 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.9557, allocations: 302.6 kB / 0.7507 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.711e-05/0.9557, allocations: 41.84 kB / 0.7507 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.9559, allocations: 59.48 kB / 0.7508 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.831e-05/0.956, allocations: 357.3 kB / 0.7511 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006893/0.9567, allocations: 195.4 kB / 0.7513 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000719/0.9574, allocations: 276.2 kB / 0.7516 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.9587, allocations: 416.3 kB / 0.752 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.9588, allocations: 1.844 kB / 0.752 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.003048/0.9618, allocations: 0.7381 MB / 0.7527 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.9619, allocations: 7.219 kB / 0.7527 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.9619, allocations: 4 kB / 0.7527 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007205/0.9626, allocations: 188.9 kB / 0.7529 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004274/0.963, allocations: 72.94 kB / 0.7529 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00427/0.9673, allocations: 2.253 MB / 0.7551 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00084/0.9682, allocations: 83.42 kB / 0.7552 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.01e-05/0.9682, allocations: 9.578 kB / 0.7552 GB, free: 169.6 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.0003601/0.9686, allocations: 194.5 kB / 0.7554 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.9688, allocations: 53.66 kB / 0.7555 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.9689, allocations: 53.06 kB / 0.7555 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.9689, allocations: 5.438 kB / 0.7555 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.9689, allocations: 0.75 kB / 0.7555 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.9689, allocations: 0.625 kB / 0.7555 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003581/0.9725, allocations: 1.139 MB / 0.7566 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.9725, allocations: 5.141 kB / 0.7566 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.9728, allocations: 46.52 kB / 0.7567 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005797/0.9734, allocations: 176.5 kB / 0.7569 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.9734, allocations: 11.19 kB / 0.7569 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00351/0.9769, allocations: 2.18 MB / 0.759 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.977, allocations: 1 kB / 0.759 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00288/0.9798, allocations: 0.7201 MB / 0.7597 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003242/0.9802, allocations: 166 kB / 0.7599 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.914e-05/0.9803, allocations: 10.81 kB / 0.7599 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000634/0.9809, allocations: 53.88 kB / 0.7599 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-05/0.981, allocations: 18.28 kB / 0.7599 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.274e-05/0.9811, allocations: 11.45 kB / 0.7599 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000556/0.9816, allocations: 394.9 kB / 0.7603 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9816, allocations: 0 / 0.7603 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000838/0.9825, allocations: 190.4 kB / 0.7605 GB, free: 166.5 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.0004586/0.9829, allocations: 170.3 kB / 0.7607 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001681/0.9846, allocations: 0.5411 MB / 0.7612 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.9847, allocations: 1.469 kB / 0.7612 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007296/0.9854, allocations: 307.2 kB / 0.7615 GB, free: 166 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.9869, allocations: 306.7 kB / 0.7618 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/0.9902, allocations: 1.251 MB / 0.763 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.9905, allocations: 0.8578 MB / 0.7638 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005191/0.991, allocations: 105.2 kB / 0.7639 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.9912, allocations: 35.25 kB / 0.764 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.9912, allocations: 0 / 0.764 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.02532/1.016, allocations: 12.3 MB / 0.776 GB, free: 158.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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)