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.6286/0.6286, allocations: 94.77 MB / 102.2 MB, free: 14.07 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.001239/0.001239, allocations: 179.4 kB / 125.6 MB, free: 7.891 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.951/1.951, allocations: 170.6 MB / 319.4 MB, free: 1.16 MB / 234.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: 111.3 kB / 381.4 MB, free: 3.145 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.351e-05/2.347e-05, allocations: 4 kB / 449.1 MB, free: 44.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1978, allocations: 61.53 MB / 0.4987 GB, free: 15.26 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.061/2.259, allocations: 439.4 MB / 0.9278 GB, free: 144 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005023/2.259, allocations: 88.98 kB / 0.9279 GB, free: 144 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.855/4.114, allocations: 432.8 MB / 1.351 GB, free: 81.23 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.407e-06/4.114, allocations: 0 / 1.351 GB, free: 81.23 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002095/4.115, allocations: 42.73 kB / 1.351 GB, free: 81.23 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.0077/4.122, allocations: 1.926 MB / 1.352 GB, free: 80.52 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.465e-05/4.122, allocations: 11.75 kB / 1.352 GB, free: 80.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/4.124, allocations: 218.1 kB / 1.353 GB, free: 80.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005545/4.13, allocations: 1.775 MB / 1.354 GB, free: 80.12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002077/4.13, allocations: 126.4 kB / 1.355 GB, free: 80.06 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002985/4.13, allocations: 68.25 kB / 1.355 GB, free: 80.06 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002862/4.133, allocations: 1.541 MB / 1.356 GB, free: 80.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002527/4.136, allocations: 1.409 MB / 1.358 GB, free: 79.82 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/4.136, allocations: 3.531 kB / 1.358 GB, free: 79.82 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/4.136, allocations: 10.78 kB / 1.358 GB, free: 79.82 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.369e-05/4.136, allocations: 23.44 kB / 1.358 GB, free: 79.82 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.009083/4.145, allocations: 6.422 MB / 1.364 GB, free: 76.39 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006278/4.151, allocations: 2.006 MB / 1.366 GB, free: 76.36 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009818/4.152, allocations: 0.619 MB / 1.366 GB, free: 76.36 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005739/4.158, allocations: 4.199 MB / 1.37 GB, free: 73.42 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/4.158, allocations: 37.72 kB / 1.371 GB, free: 73.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 2.384e-06/4.158, allocations: 1.375 kB / 1.371 GB, free: 73.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.004434/4.162, allocations: 1.77 MB / 1.372 GB, free: 73.26 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/4.163, allocations: 163.6 kB / 1.372 GB, free: 73.07 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/4.164, allocations: 1.037 MB / 1.373 GB, free: 72.91 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001324/4.164, allocations: 32.89 kB / 1.373 GB, free: 72.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004747/4.165, allocations: 0.7029 MB / 1.374 GB, free: 72.62 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/4.165, allocations: 170.6 kB / 1.374 GB, free: 72.51 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/4.165, allocations: 8.688 kB / 1.374 GB, free: 72.51 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001122/4.165, allocations: 367.9 kB / 1.375 GB, free: 72.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/4.166, allocations: 1.018 MB / 1.376 GB, free: 72.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/4.168, allocations: 1.365 MB / 1.377 GB, free: 71.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002655/4.171, allocations: 1.219 MB / 1.378 GB, free: 71.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/4.171, allocations: 11.09 kB / 1.378 GB, free: 71.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005762/4.176, allocations: 3.012 MB / 1.381 GB, free: 71.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0012/4.178, allocations: 3.793 MB / 1.385 GB, free: 67.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/4.178, allocations: 10.69 kB / 1.385 GB, free: 67.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/4.179, allocations: 0.9595 MB / 1.386 GB, free: 67.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007568/4.18, allocations: 222.1 kB / 1.386 GB, free: 67.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/4.182, allocations: 1.564 MB / 1.388 GB, free: 67.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002009/4.184, allocations: 237.6 kB / 1.388 GB, free: 67.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003117/4.184, allocations: 166.3 kB / 1.388 GB, free: 67.22 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/4.184, allocations: 4.75 kB / 1.388 GB, free: 67.22 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006343/4.19, allocations: 3.215 MB / 1.391 GB, free: 67.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/4.19, allocations: 14.06 kB / 1.391 GB, free: 67.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002327/4.193, allocations: 1.151 MB / 1.392 GB, free: 67.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007079/4.193, allocations: 209.9 kB / 1.392 GB, free: 67.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0133/4.207, allocations: 6.424 MB / 1.399 GB, free: 64.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002456/4.209, allocations: 199.6 kB / 1.399 GB, free: 64.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003712/4.21, allocations: 144.3 kB / 1.399 GB, free: 64.88 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 () * 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.0006424/4.21, allocations: 154.4 kB / 1.399 GB, free: 64.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003392/4.211, allocations: 126.2 kB / 1.399 GB, free: 64.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002834/4.214, allocations: 1.082 MB / 1.4 GB, free: 64.59 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/4.214, allocations: 7.5 kB / 1.4 GB, free: 64.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/4.214, allocations: 0 / 1.4 GB, free: 64.59 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/4.214, allocations: 10.83 kB / 1.4 GB, free: 64.59 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/4.215, allocations: 0.8409 MB / 1.401 GB, free: 64.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/4.215, allocations: 2 kB / 1.401 GB, free: 64.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/4.216, allocations: 103.1 kB / 1.401 GB, free: 64.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004129/4.216, allocations: 298.5 kB / 1.402 GB, free: 64.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.625e-05/4.216, allocations: 13.17 kB / 1.402 GB, free: 64.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007799/4.217, allocations: 0.8406 MB / 1.402 GB, free: 63.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/4.217, allocations: 1.5 kB / 1.402 GB, free: 63.87 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/4.219, allocations: 1.101 MB / 1.403 GB, free: 63.62 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006049/4.22, allocations: 303.4 kB / 1.404 GB, free: 63.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/4.22, allocations: 11.55 kB / 1.404 GB, free: 63.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005891/4.22, allocations: 36.91 kB / 1.404 GB, free: 63.44 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/4.221, allocations: 48.94 kB / 1.404 GB, free: 63.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.039e-05/4.221, allocations: 44.34 kB / 1.404 GB, free: 63.44 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001034/4.222, allocations: 0.728 MB / 1.405 GB, free: 63.33 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/4.222, allocations: 0.5625 kB / 1.405 GB, free: 63.33 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004855/4.227, allocations: 1.179 MB / 1.406 GB, free: 63.15 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 () * 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.002367/4.229, allocations: 1.01 MB / 1.407 GB, free: 62.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01122/4.24, allocations: 10.82 MB / 1.417 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/4.24, allocations: 3.75 kB / 1.417 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006133/4.241, allocations: 310.8 kB / 1.418 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003097/4.244, allocations: 0.52 MB / 1.418 GB, free: 62.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/4.247, allocations: 1.568 MB / 1.42 GB, free: 61.77 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007309/4.248, allocations: 1.251 MB / 1.421 GB, free: 61.06 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001766/4.25, allocations: 369.2 kB / 1.421 GB, free: 61.05 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/4.25, allocations: 90.2 kB / 1.421 GB, free: 61.04 MB / 0.5261 GB Notification: Performance of SimCode: time 1.563e-06/4.25, allocations: 2.781 kB / 1.421 GB, free: 61.04 MB / 0.5261 GB Notification: Performance of Templates: time 0.07301/4.323, allocations: 41.81 MB / 1.462 GB, free: 58.19 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)