Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y_linear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.FlowMachine_y_linear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y_linear") translateModel(Buildings.Fluid.Movers.Examples.FlowMachine_y_linear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y_linear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5455/0.5455, allocations: 95.62 MB / 110.6 MB, free: 9.355 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001101/0.001101, allocations: 165.9 kB / 134.2 MB, free: 2.262 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.432/1.432, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001789/0.001789, allocations: 97.97 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003691, allocations: 12 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1487, allocations: 61.53 MB / 0.512 GB, free: 6.09 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.463/1.612, allocations: 439.8 MB / 0.9415 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003744/1.612, allocations: 91.41 kB / 0.9415 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.636/3.248, allocations: 436.9 MB / 1.368 GB, free: 80.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.805e-06/3.248, allocations: 2.625 kB / 1.368 GB, free: 80.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000191/3.249, allocations: 44.84 kB / 1.368 GB, free: 80.4 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.006768/3.255, allocations: 2.169 MB / 1.37 GB, free: 79.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/3.256, allocations: 12.92 kB / 1.37 GB, free: 79.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/3.257, allocations: 221.2 kB / 1.371 GB, free: 79.48 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005198/3.262, allocations: 1.782 MB / 1.372 GB, free: 79.18 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000248/3.262, allocations: 161.8 kB / 1.373 GB, free: 79.12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002832/3.262, allocations: 104.6 kB / 1.373 GB, free: 79.12 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003326/3.266, allocations: 1.592 MB / 1.374 GB, free: 78.87 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/3.266, allocations: 4.125 kB / 1.374 GB, free: 78.87 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/3.266, allocations: 43.59 kB / 1.374 GB, free: 78.87 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/3.266, allocations: 26.88 kB / 1.374 GB, free: 78.87 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002189/3.268, allocations: 1.024 MB / 1.375 GB, free: 78.86 MB / 0.5261 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.009943/3.278, allocations: 6.614 MB / 1.382 GB, free: 75.37 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006155/3.284, allocations: 1.392 MB / 1.383 GB, free: 75.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006205/3.291, allocations: 4.229 MB / 1.387 GB, free: 72.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/3.291, allocations: 39.22 kB / 1.387 GB, free: 72.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 2.294e-06/3.291, allocations: 0 / 1.387 GB, free: 72.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.004287/3.295, allocations: 1.405 MB / 1.389 GB, free: 72.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.27e-05/3.295, allocations: 164.2 kB / 1.389 GB, free: 71.96 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/3.297, allocations: 1.185 MB / 1.39 GB, free: 71.78 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001468/3.297, allocations: 43.89 kB / 1.39 GB, free: 71.75 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006146/3.298, allocations: 0.7009 MB / 1.391 GB, free: 71.46 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/3.298, allocations: 178.9 kB / 1.391 GB, free: 71.35 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/3.298, allocations: 25.91 kB / 1.391 GB, free: 71.35 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001509/3.298, allocations: 363.8 kB / 1.391 GB, free: 71.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/3.299, allocations: 0.7155 MB / 1.392 GB, free: 71.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/3.301, allocations: 1.069 MB / 1.393 GB, free: 70.66 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/3.302, allocations: 0.9827 MB / 1.394 GB, free: 70.51 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.505e-06/3.302, allocations: 3.812 kB / 1.394 GB, free: 70.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003828/3.306, allocations: 2.296 MB / 1.396 GB, free: 70.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001178/3.307, allocations: 3.817 MB / 1.4 GB, free: 66.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/3.307, allocations: 9.719 kB / 1.4 GB, free: 66.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/3.308, allocations: 492.2 kB / 1.4 GB, free: 66.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000746/3.309, allocations: 221.5 kB / 1.401 GB, free: 66.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000928/3.31, allocations: 0.8846 MB / 1.401 GB, free: 65.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/3.312, allocations: 274 kB / 1.402 GB, free: 65.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003048/3.312, allocations: 157.7 kB / 1.402 GB, free: 65.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/3.312, allocations: 7.625 kB / 1.402 GB, free: 65.79 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00617/3.318, allocations: 3.66 MB / 1.405 GB, free: 65.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/3.319, allocations: 15.06 kB / 1.405 GB, free: 65.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002486/3.321, allocations: 1.191 MB / 1.407 GB, free: 65.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006557/3.322, allocations: 209.2 kB / 1.407 GB, free: 65.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0145/3.336, allocations: 6.893 MB / 1.414 GB, free: 63.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002794/3.339, allocations: 223.9 kB / 1.414 GB, free: 63.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003112/3.339, allocations: 148 kB / 1.414 GB, free: 63.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 (pumFixDp.curve,pumFixDp.haveMinimumDecrease,pumFixDp.haveDPMax,pumFixDp.haveVMax,pumFixM_flow.curve,pumFixM_flow.haveMinimumDecrease,pumFixM_flow.haveDPMax,pumFixM_flow.haveVMax) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001446/3.341, allocations: 438.8 kB / 1.414 GB, free: 63.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002863/3.341, allocations: 141.2 kB / 1.414 GB, free: 63.03 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/3.343, allocations: 1.114 MB / 1.416 GB, free: 62.92 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/3.343, allocations: 3.312 kB / 1.416 GB, free: 62.92 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/3.343, allocations: 3.656 kB / 1.416 GB, free: 62.92 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/3.343, allocations: 12.64 kB / 1.416 GB, free: 62.92 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/3.345, allocations: 0.9529 MB / 1.416 GB, free: 62.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/3.345, allocations: 3.906 kB / 1.416 GB, free: 62.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003831/3.345, allocations: 102.5 kB / 1.417 GB, free: 62.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009036/3.346, allocations: 405.4 kB / 1.417 GB, free: 62.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.092e-05/3.346, allocations: 26.28 kB / 1.417 GB, free: 62.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006311/3.347, allocations: 0.7832 MB / 1.418 GB, free: 62.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/3.347, allocations: 2.438 kB / 1.418 GB, free: 62.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/3.349, allocations: 1.122 MB / 1.419 GB, free: 61.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005693/3.349, allocations: 322.5 kB / 1.419 GB, free: 61.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/3.35, allocations: 12.53 kB / 1.419 GB, free: 61.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005912/3.35, allocations: 49.47 kB / 1.419 GB, free: 61.72 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/3.35, allocations: 40.31 kB / 1.419 GB, free: 61.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.67e-05/3.35, allocations: 41.47 kB / 1.419 GB, free: 61.72 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001095/3.352, allocations: 0.8745 MB / 1.42 GB, free: 61.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.2e-07/3.352, allocations: 0 / 1.42 GB, free: 61.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004398/3.356, allocations: 1.196 MB / 1.421 GB, free: 61.45 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002185/3.358, allocations: 1.015 MB / 1.422 GB, free: 61.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009993/3.368, allocations: 10.51 MB / 1.433 GB, free: 60.54 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/3.368, allocations: 0 / 1.433 GB, free: 60.54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005524/3.369, allocations: 353.9 kB / 1.433 GB, free: 60.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003046/3.372, allocations: 0.5575 MB / 1.433 GB, free: 60.52 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005619/3.377, allocations: 2.623 MB / 1.436 GB, free: 59.31 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/3.378, allocations: 1.252 MB / 1.437 GB, free: 58.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001853/3.38, allocations: 328.4 kB / 1.438 GB, free: 58.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/3.381, allocations: 102.3 kB / 1.438 GB, free: 58.58 MB / 0.5261 GB Notification: Performance of SimCode: time 3.617e-06/3.381, allocations: 0 / 1.438 GB, free: 58.58 MB / 0.5261 GB Notification: Performance of Templates: time 0.07619/3.457, allocations: 46.37 MB / 1.483 GB, free: 54.26 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y_linear.makefile (rm -f Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y_linear.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y_linear.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y_linear.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y_linear.sim & ./Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y_linear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y_linear.pipe 2>&1)