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.001357/0.001357, allocations: 108.4 kB / 16.41 MB, free: 6.492 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.001075/0.001075, allocations: 185.5 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002144/0.002144, allocations: 289.4 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 0.9708/0.9708, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 95.86 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5702/0.5721, allocations: 86.97 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1929/0.7651, allocations: 171 MB / 0.934 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007042/0.7721, allocations: 4.284 MB / 0.9382 GB, free: 3.965 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.7732, allocations: 23.88 kB / 0.9382 GB, free: 3.941 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.7744, allocations: 350 kB / 0.9385 GB, free: 3.598 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002779/0.7772, allocations: 0.9954 MB / 0.9395 GB, free: 2.598 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.7796, allocations: 0.823 MB / 0.9403 GB, free: 1.781 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002015/0.7817, allocations: 1.302 MB / 0.9416 GB, free: 488 kB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008451/0.7825, allocations: 483.2 kB / 0.9421 GB, free: 0 / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001586/0.7841, allocations: 0.6758 MB / 0.9427 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.7854, allocations: 446.3 kB / 0.9431 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001819/0.7856, allocations: 52 kB / 0.9432 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.7874, allocations: 0.912 MB / 0.9441 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003276/0.7878, allocations: 215.4 kB / 0.9443 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006033/0.7884, allocations: 330.5 kB / 0.9446 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.7904, allocations: 1.141 MB / 0.9457 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.7904, allocations: 0 / 0.9457 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7904, allocations: 0 / 0.9457 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.417e-05/0.7905, allocations: 4 kB / 0.9457 GB, free: 12.24 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.002082/0.7925, allocations: 0.9466 MB / 0.9466 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.7926, allocations: 8.031 kB / 0.9466 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/0.7943, allocations: 263 kB / 0.9469 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009176/0.7953, allocations: 0.4973 MB / 0.9474 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.7953, allocations: 29 kB / 0.9474 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.496e-05/0.7954, allocations: 44 kB / 0.9475 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.7967, allocations: 0.6146 MB / 0.9481 GB, free: 9.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.7968, allocations: 0 / 0.9481 GB, free: 9.73 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.7968, allocations: 16 kB / 0.9481 GB, free: 9.715 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-05/0.7969, allocations: 24.98 kB / 0.9481 GB, free: 9.691 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.7984, allocations: 0.5464 MB / 0.9486 GB, free: 9.141 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.004211/0.8026, allocations: 2.26 MB / 0.9508 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009609/0.8036, allocations: 282.3 kB / 0.9511 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005641/0.8041, allocations: 164.7 kB / 0.9513 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.8042, allocations: 7.922 kB / 0.9513 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.8042, allocations: 42.5 kB / 0.9513 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.874e-06/0.8042, allocations: 0 / 0.9513 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.005252/0.8095, allocations: 1.084 MB / 0.9524 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.8096, allocations: 81.11 kB / 0.9524 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006941/0.8103, allocations: 0.5534 MB / 0.953 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.228e-05/0.8103, allocations: 33.7 kB / 0.953 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/0.8105, allocations: 299.5 kB / 0.9533 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.945e-05/0.8106, allocations: 43.44 kB / 0.9533 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.8107, allocations: 57.61 kB / 0.9534 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.8109, allocations: 358.8 kB / 0.9537 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005924/0.8115, allocations: 187.8 kB / 0.9539 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006527/0.8121, allocations: 265.8 kB / 0.9542 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.8133, allocations: 411 kB / 0.9546 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.8133, allocations: 4 kB / 0.9546 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002689/0.816, allocations: 0.7239 MB / 0.9553 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.816, allocations: 4 kB / 0.9553 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.816, allocations: 7.938 kB / 0.9553 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006585/0.8167, allocations: 184.8 kB / 0.9555 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.8171, allocations: 71.81 kB / 0.9555 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3737/1.191, allocations: 2.228 MB / 0.9577 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007181/1.192, allocations: 68.39 kB / 0.9578 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/1.192, allocations: 14.02 kB / 0.9578 GB, free: 189.9 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.0003007/1.192, allocations: 195.5 kB / 0.958 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/1.192, allocations: 52.27 kB / 0.958 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/1.192, allocations: 48.67 kB / 0.9581 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/1.192, allocations: 1.953 kB / 0.9581 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/1.192, allocations: 4.281 kB / 0.9581 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/1.192, allocations: 3.906 kB / 0.9581 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003445/1.196, allocations: 1.128 MB / 0.9592 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.196, allocations: 1.156 kB / 0.9592 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/1.196, allocations: 42.11 kB / 0.9592 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006329/1.197, allocations: 187.8 kB / 0.9594 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/1.197, allocations: 3.062 kB / 0.9594 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003606/1.2, allocations: 2.188 MB / 0.9615 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.2, allocations: 0.7031 kB / 0.9615 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/1.203, allocations: 0.7001 MB / 0.9622 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002406/1.203, allocations: 166.6 kB / 0.9624 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.795e-05/1.203, allocations: 5.859 kB / 0.9624 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000593/1.204, allocations: 50.2 kB / 0.9624 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/1.204, allocations: 17.19 kB / 0.9625 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.475e-05/1.204, allocations: 12.36 kB / 0.9625 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000467/1.204, allocations: 394.3 kB / 0.9628 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.204, allocations: 0 / 0.9628 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006552/1.205, allocations: 179.9 kB / 0.963 GB, free: 187.2 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.0004027/1.205, allocations: 172.4 kB / 0.9632 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001585/1.207, allocations: 0.5378 MB / 0.9637 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.207, allocations: 0 / 0.9637 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007153/1.208, allocations: 298.4 kB / 0.964 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/1.209, allocations: 301.4 kB / 0.9643 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/1.212, allocations: 1.108 MB / 0.9654 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/1.213, allocations: 0.8587 MB / 0.9662 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/1.213, allocations: 39.12 kB / 0.9662 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/1.213, allocations: 0 / 0.9662 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.01207/1.225, allocations: 11.15 MB / 0.9771 GB, free: 178.2 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)