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.005963/0.005968, allocations: 99.44 kB / 15.73 MB, free: 6.035 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.001297/0.001297, allocations: 193.4 kB / 16.67 MB, free: 5.961 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002177/0.002177, allocations: 287 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9629/0.9629, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 104.8 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1671, allocations: 86.96 MB / 0.7664 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5149/0.682, allocations: 171 MB / 0.9333 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.006236/0.6883, allocations: 4.283 MB / 0.9375 GB, free: 3.559 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005144/0.6889, allocations: 27.88 kB / 0.9376 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0009395/0.6898, allocations: 354 kB / 0.9379 GB, free: 3.184 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002128/0.692, allocations: 0.9954 MB / 0.9389 GB, free: 2.184 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.6938, allocations: 0.8147 MB / 0.9397 GB, free: 1.379 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001337/0.6952, allocations: 1.294 MB / 0.9409 GB, free: 84 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005535/0.6957, allocations: 479.3 kB / 0.9414 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.6968, allocations: 0.6766 MB / 0.942 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008521/0.6976, allocations: 456.4 kB / 0.9425 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 8.574e-05/0.6977, allocations: 52 kB / 0.9425 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.6991, allocations: 0.9043 MB / 0.9434 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001998/0.6993, allocations: 211.4 kB / 0.9436 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003026/0.6996, allocations: 330.5 kB / 0.9439 GB, free: 13 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.7009, allocations: 1.139 MB / 0.945 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.701, allocations: 0 / 0.945 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.092e-06/0.701, allocations: 0 / 0.945 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.701, allocations: 0 / 0.945 GB, free: 11.86 MB / 0.7012 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.001443/0.7024, allocations: 0.9688 MB / 0.946 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.7025, allocations: 12.03 kB / 0.946 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/0.704, allocations: 267.3 kB / 0.9462 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007672/0.7048, allocations: 0.4901 MB / 0.9467 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.7048, allocations: 40.88 kB / 0.9468 GB, free: 9.996 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.858e-05/0.7049, allocations: 44 kB / 0.9468 GB, free: 9.953 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.7061, allocations: 0.6107 MB / 0.9474 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.7061, allocations: 0 / 0.9474 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.039e-05/0.7061, allocations: 23.94 kB / 0.9474 GB, free: 9.297 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/0.7062, allocations: 17 kB / 0.9474 GB, free: 9.281 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.7075, allocations: 0.5464 MB / 0.948 GB, free: 8.73 MB / 0.7012 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.003538/0.7111, allocations: 2.27 MB / 0.9502 GB, free: 6.328 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008751/0.7119, allocations: 275.1 kB / 0.9505 GB, free: 6.051 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005191/0.7125, allocations: 180.6 kB / 0.9506 GB, free: 5.871 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.7125, allocations: 0 / 0.9506 GB, free: 5.871 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.7125, allocations: 42.5 kB / 0.9507 GB, free: 5.82 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=11): time 8.31e-07/0.7126, allocations: 0 / 0.9507 GB, free: 5.82 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.004819/0.7174, allocations: 1.089 MB / 0.9517 GB, free: 4.703 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.7174, allocations: 77.11 kB / 0.9518 GB, free: 4.609 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005738/0.718, allocations: 0.5535 MB / 0.9523 GB, free: 4.051 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.7181, allocations: 29.7 kB / 0.9524 GB, free: 4.016 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.7183, allocations: 304.1 kB / 0.9527 GB, free: 3.715 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.7183, allocations: 43.64 kB / 0.9527 GB, free: 3.672 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.7184, allocations: 61.64 kB / 0.9528 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.7186, allocations: 366.7 kB / 0.9531 GB, free: 3.238 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005683/0.7191, allocations: 187.8 kB / 0.9533 GB, free: 3.055 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006015/0.7197, allocations: 265.3 kB / 0.9535 GB, free: 2.762 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.7208, allocations: 402.9 kB / 0.9539 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.7208, allocations: 1.375 kB / 0.9539 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002463/0.7233, allocations: 0.728 MB / 0.9546 GB, free: 1.602 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.7233, allocations: 14.12 kB / 0.9547 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.7234, allocations: 0 / 0.9547 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005991/0.724, allocations: 188.7 kB / 0.9548 GB, free: 1.402 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/0.7243, allocations: 71.83 kB / 0.9549 GB, free: 1.332 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003602/0.7279, allocations: 2.242 MB / 0.9571 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005621/0.7285, allocations: 75.58 kB / 0.9572 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.7286, allocations: 11.98 kB / 0.9572 GB, free: 14.88 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.0002155/0.7288, allocations: 196.8 kB / 0.9574 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-05/0.7289, allocations: 47.72 kB / 0.9574 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.682e-05/0.729, allocations: 52.03 kB / 0.9575 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.729, allocations: 3.938 kB / 0.9575 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.729, allocations: 0 / 0.9575 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.729, allocations: 0 / 0.9575 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002847/0.7318, allocations: 1.137 MB / 0.9586 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.7319, allocations: 3.984 kB / 0.9586 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.7321, allocations: 35.91 kB / 0.9586 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005034/0.7326, allocations: 188.7 kB / 0.9588 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.7326, allocations: 7.938 kB / 0.9588 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003357/0.736, allocations: 2.179 MB / 0.9609 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.736, allocations: 3.984 kB / 0.9609 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002367/0.7384, allocations: 0.7085 MB / 0.9616 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/0.7386, allocations: 168.7 kB / 0.9618 GB, free: 9.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.887e-05/0.7387, allocations: 4 kB / 0.9618 GB, free: 9.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005539/0.7393, allocations: 47.94 kB / 0.9618 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/0.7393, allocations: 19.92 kB / 0.9619 GB, free: 9.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.544e-05/0.7394, allocations: 11.98 kB / 0.9619 GB, free: 9.816 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004185/0.7398, allocations: 398.8 kB / 0.9622 GB, free: 9.43 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7398, allocations: 0 / 0.9622 GB, free: 9.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006156/0.7404, allocations: 179.8 kB / 0.9624 GB, free: 9.254 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.0004265/0.7409, allocations: 186.6 kB / 0.9626 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00151/0.7424, allocations: 0.5219 MB / 0.9631 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.7424, allocations: 8.375 kB / 0.9631 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007483/0.7432, allocations: 310.5 kB / 0.9634 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.7445, allocations: 301 kB / 0.9637 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.7475, allocations: 1.071 MB / 0.9647 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.7479, allocations: 0.8621 MB / 0.9656 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003757/0.7483, allocations: 104.5 kB / 0.9657 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.204e-05/0.7484, allocations: 35.44 kB / 0.9657 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of SimCode: time 1.212e-06/0.7484, allocations: 0 / 0.9657 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of Templates: time 0.01845/0.7669, allocations: 12.46 MB / 0.9779 GB, free: 9.531 MB / 0.7325 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)