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.001123/0.001123, allocations: 105.1 kB / 16.41 MB, free: 6.5 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.001187/0.001187, allocations: 187 kB / 17.34 MB, free: 5.742 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.358/1.358, 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.002132/0.002132, allocations: 284.8 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9615/0.9615, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 104.3 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5037/0.5055, allocations: 86.98 MB / 0.767 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1857/0.6912, allocations: 171 MB / 0.934 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007037/0.6983, allocations: 4.302 MB / 0.9382 GB, free: 4 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008149/0.6992, allocations: 15.94 kB / 0.9382 GB, free: 3.984 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.7003, allocations: 350 kB / 0.9385 GB, free: 3.641 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002724/0.7031, allocations: 0.9993 MB / 0.9395 GB, free: 2.637 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.7054, allocations: 0.8224 MB / 0.9403 GB, free: 1.82 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001791/0.7072, allocations: 1.294 MB / 0.9416 GB, free: 0.5234 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007386/0.7079, allocations: 479.3 kB / 0.942 GB, free: 52 kB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.7092, allocations: 0.6757 MB / 0.9427 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.7103, allocations: 450.3 kB / 0.9431 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.512e-05/0.7104, allocations: 52 kB / 0.9432 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.712, allocations: 0.9082 MB / 0.9441 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002384/0.7123, allocations: 219.4 kB / 0.9443 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003059/0.7126, allocations: 330.5 kB / 0.9446 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.7141, allocations: 1.134 MB / 0.9457 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.7142, allocations: 0 / 0.9457 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7142, allocations: 3.938 kB / 0.9457 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.7142, allocations: 0 / 0.9457 GB, free: 12.29 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.001748/0.7159, allocations: 0.9506 MB / 0.9466 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.716, allocations: 12.03 kB / 0.9466 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.7177, allocations: 255 kB / 0.9469 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008536/0.7185, allocations: 0.4935 MB / 0.9474 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.526e-05/0.7186, allocations: 37 kB / 0.9474 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.48e-05/0.7187, allocations: 40 kB / 0.9474 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.72, allocations: 0.6146 MB / 0.948 GB, free: 9.785 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.72, allocations: 0 / 0.948 GB, free: 9.785 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.983e-05/0.7201, allocations: 24 kB / 0.9481 GB, free: 9.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.258e-05/0.7201, allocations: 20.98 kB / 0.9481 GB, free: 9.742 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.7215, allocations: 0.5464 MB / 0.9486 GB, free: 9.191 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.00386/0.7253, allocations: 2.26 MB / 0.9508 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008638/0.7262, allocations: 278.3 kB / 0.9511 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005598/0.7268, allocations: 172.7 kB / 0.9513 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.7268, allocations: 7.922 kB / 0.9513 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.7269, allocations: 42.55 kB / 0.9513 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.7269, allocations: 0 / 0.9513 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.005056/0.7319, allocations: 1.088 MB / 0.9524 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.732, allocations: 81.11 kB / 0.9524 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006855/0.7327, allocations: 0.5534 MB / 0.953 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.319e-05/0.7327, allocations: 29.7 kB / 0.953 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.733, allocations: 299.5 kB / 0.9533 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.733, allocations: 35.45 kB / 0.9533 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.7331, allocations: 61.61 kB / 0.9534 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002126/0.7334, allocations: 362.8 kB / 0.9537 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005466/0.7339, allocations: 183.8 kB / 0.9539 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005952/0.7345, allocations: 269.8 kB / 0.9542 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.7356, allocations: 407.5 kB / 0.9546 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.7356, allocations: 0 / 0.9546 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0028/0.7384, allocations: 0.7239 MB / 0.9553 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.7385, allocations: 12 kB / 0.9553 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.7385, allocations: 4 kB / 0.9553 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006309/0.7391, allocations: 184.7 kB / 0.9555 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/0.7395, allocations: 75.88 kB / 0.9555 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4258/1.165, allocations: 2.223 MB / 0.9577 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007728/1.166, allocations: 74.39 kB / 0.9578 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/1.166, allocations: 10.3 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.0003472/1.167, allocations: 192.1 kB / 0.958 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/1.167, allocations: 49.78 kB / 0.958 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/1.167, allocations: 50.83 kB / 0.9581 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/1.167, allocations: 1.641 kB / 0.9581 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/1.167, allocations: 4.531 kB / 0.9581 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/1.167, allocations: 4.281 kB / 0.9581 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003464/1.17, allocations: 1.128 MB / 0.9592 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.17, allocations: 0.6562 kB / 0.9592 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/1.171, allocations: 44.02 kB / 0.9592 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006175/1.171, allocations: 183.8 kB / 0.9594 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/1.171, allocations: 11.28 kB / 0.9594 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003758/1.175, allocations: 2.184 MB / 0.9615 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.175, allocations: 1.281 kB / 0.9615 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002572/1.178, allocations: 0.7059 MB / 0.9622 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002942/1.178, allocations: 172.3 kB / 0.9624 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.37e-05/1.178, allocations: 2.812 kB / 0.9624 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005621/1.179, allocations: 48.8 kB / 0.9624 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/1.179, allocations: 13.2 kB / 0.9625 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-05/1.179, allocations: 16.56 kB / 0.9625 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005462/1.179, allocations: 394.3 kB / 0.9628 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.179, allocations: 1.438 kB / 0.9628 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007198/1.18, allocations: 181.2 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.0004383/1.181, allocations: 173.5 kB / 0.9632 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001586/1.182, allocations: 0.5327 MB / 0.9637 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/1.182, allocations: 1.25 kB / 0.9637 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007147/1.183, allocations: 293.5 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.001449/1.184, allocations: 308.9 kB / 0.9643 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003256/1.188, allocations: 1.106 MB / 0.9654 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/1.188, allocations: 0.8608 MB / 0.9662 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/1.188, allocations: 42.77 kB / 0.9662 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of SimCode: time 5.21e-07/1.188, allocations: 0 / 0.9662 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.01327/1.201, allocations: 11.19 MB / 0.9772 GB, free: 178.1 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)