Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001561/0.001561, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001642/0.001642, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.53/1.53, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00248/0.00248, allocations: 293.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.004/1.004, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002967/0.002967, allocations: 91.86 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4481/0.451, allocations: 86.98 MB / 0.767 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2094/0.6605, allocations: 171.4 MB / 0.9345 GB, free: 7.789 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007451/0.6679, allocations: 4.305 MB / 0.9387 GB, free: 3.473 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007383/0.6686, allocations: 19.88 kB / 0.9387 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.6697, allocations: 369.9 kB / 0.939 GB, free: 3.09 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002595/0.6723, allocations: 1.027 MB / 0.94 GB, free: 2.059 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002253/0.6745, allocations: 0.8256 MB / 0.9408 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002595/0.6771, allocations: 1.302 MB / 0.9421 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007981/0.6779, allocations: 403.3 kB / 0.9425 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.6796, allocations: 0.6923 MB / 0.9432 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.681, allocations: 457.2 kB / 0.9436 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.6812, allocations: 48 kB / 0.9437 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.6831, allocations: 0.9121 MB / 0.9445 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002721/0.6834, allocations: 219.3 kB / 0.9448 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003968/0.6838, allocations: 326.6 kB / 0.9451 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001913/0.6857, allocations: 1.147 MB / 0.9462 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/0.6857, allocations: 0 / 0.9462 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.306e-06/0.6857, allocations: 0 / 0.9462 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.667e-05/0.6857, allocations: 0 / 0.9462 GB, free: 11.75 MB / 0.7169 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.001951/0.6877, allocations: 0.9727 MB / 0.9471 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.6877, allocations: 8.031 kB / 0.9471 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001804/0.6895, allocations: 271.3 kB / 0.9474 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.6906, allocations: 0.49 MB / 0.9479 GB, free: 9.926 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.935e-05/0.6906, allocations: 33 kB / 0.9479 GB, free: 9.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.337e-05/0.6907, allocations: 36 kB / 0.9479 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.6921, allocations: 0.6224 MB / 0.9485 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.6921, allocations: 4 kB / 0.9486 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.708e-05/0.6921, allocations: 23.97 kB / 0.9486 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.201e-05/0.6922, allocations: 20.94 kB / 0.9486 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.6937, allocations: 0.5503 MB / 0.9491 GB, free: 8.613 MB / 0.7169 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.004572/0.6983, allocations: 2.261 MB / 0.9513 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.6993, allocations: 270.3 kB / 0.9516 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005946/0.6999, allocations: 164.7 kB / 0.9518 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.6999, allocations: 3.938 kB / 0.9518 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.7, allocations: 42.5 kB / 0.9518 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.854e-06/0.7, allocations: 0 / 0.9518 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.005613/0.7056, allocations: 1.084 MB / 0.9529 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/0.7057, allocations: 77.11 kB / 0.9529 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008073/0.7065, allocations: 0.5573 MB / 0.9535 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-05/0.7065, allocations: 33.7 kB / 0.9535 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/0.7068, allocations: 304.1 kB / 0.9538 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.497e-05/0.7068, allocations: 47.64 kB / 0.9538 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.707, allocations: 61.64 kB / 0.9539 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.7071, allocations: 354.8 kB / 0.9542 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006345/0.7078, allocations: 187.8 kB / 0.9544 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007004/0.7085, allocations: 265.8 kB / 0.9547 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.7097, allocations: 405.9 kB / 0.9551 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.7097, allocations: 7.938 kB / 0.9551 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002912/0.7126, allocations: 0.7265 MB / 0.9558 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.7126, allocations: 4 kB / 0.9558 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.7126, allocations: 4 kB / 0.9558 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006896/0.7133, allocations: 188.7 kB / 0.956 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/0.7137, allocations: 67.95 kB / 0.956 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3819/1.096, allocations: 2.231 MB / 0.9582 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007056/1.096, allocations: 81.17 kB / 0.9583 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/1.096, allocations: 10.42 kB / 0.9583 GB, free: 189.6 MB / 0.7169 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.0002695/1.097, allocations: 187.4 kB / 0.9585 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/1.097, allocations: 58.94 kB / 0.9585 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/1.097, allocations: 56.12 kB / 0.9586 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/1.097, allocations: 1.781 kB / 0.9586 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/1.097, allocations: 0.5 kB / 0.9586 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/1.097, allocations: 1.062 kB / 0.9586 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003369/1.1, allocations: 1.134 MB / 0.9597 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.1, allocations: 1.219 kB / 0.9597 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/1.101, allocations: 41.31 kB / 0.9597 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006511/1.101, allocations: 176.8 kB / 0.9599 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/1.101, allocations: 7.281 kB / 0.9599 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003659/1.105, allocations: 2.185 MB / 0.962 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/1.105, allocations: 4.969 kB / 0.9621 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002524/1.107, allocations: 0.7019 MB / 0.9627 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002545/1.108, allocations: 173.6 kB / 0.9629 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.158e-05/1.108, allocations: 3.438 kB / 0.9629 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005903/1.108, allocations: 51.98 kB / 0.963 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/1.108, allocations: 10 kB / 0.963 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.512e-05/1.108, allocations: 16.33 kB / 0.963 GB, free: 187 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000461/1.109, allocations: 394.7 kB / 0.9634 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.109, allocations: 0 / 0.9634 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006493/1.109, allocations: 182.5 kB / 0.9635 GB, free: 186.8 MB / 0.7169 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.000392/1.11, allocations: 185.5 kB / 0.9637 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001588/1.111, allocations: 0.5152 MB / 0.9642 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.111, allocations: 2.188 kB / 0.9642 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007009/1.112, allocations: 299.8 kB / 0.9645 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/1.114, allocations: 306.8 kB / 0.9648 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/1.117, allocations: 1.078 MB / 0.9658 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/1.117, allocations: 0.8589 MB / 0.9667 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003729/1.117, allocations: 108.2 kB / 0.9668 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/1.117, allocations: 36.91 kB / 0.9668 GB, free: 185 MB / 0.7169 GB Notification: Performance of SimCode: time 5.81e-07/1.117, allocations: 0 / 0.9668 GB, free: 185 MB / 0.7169 GB Notification: Performance of Templates: time 0.01586/1.133, allocations: 12.53 MB / 0.9791 GB, free: 176.3 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)