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.5712/0.5712, allocations: 94.7 MB / 107.3 MB, free: 5.18 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.001293/0.001293, allocations: 174.8 kB / 130.7 MB, free: 7.547 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.75/1.75, allocations: 170.5 MB / 324.5 MB, free: 4.008 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.001875/0.001876, allocations: 110.3 kB / 386.6 MB, free: 16.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.168e-05/4.17e-05, allocations: 0 / 456 MB, free: 11.78 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5562/0.5562, allocations: 61.52 MB / 0.5054 GB, free: 49.44 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.438/1.995, allocations: 439.7 MB / 0.9348 GB, free: 169.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003733/1.995, allocations: 85.97 kB / 0.9349 GB, free: 169.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.916/3.911, allocations: 435.5 MB / 1.36 GB, free: 73.48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.815e-06/3.912, allocations: 0 / 1.36 GB, free: 73.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002408/3.912, allocations: 37.67 kB / 1.36 GB, free: 73.48 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.007785/3.92, allocations: 1.93 MB / 1.362 GB, free: 72.64 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.939e-05/3.92, allocations: 10.09 kB / 1.362 GB, free: 72.64 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/3.922, allocations: 216.9 kB / 1.362 GB, free: 72.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005561/3.927, allocations: 1.779 MB / 1.364 GB, free: 72.25 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002906/3.928, allocations: 157.8 kB / 1.364 GB, free: 72.19 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003956/3.928, allocations: 106.1 kB / 1.364 GB, free: 72.19 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003207/3.931, allocations: 1.556 MB / 1.366 GB, free: 71.95 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/3.931, allocations: 1.281 kB / 1.366 GB, free: 71.95 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/3.931, allocations: 40.44 kB / 1.366 GB, free: 71.95 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.176e-05/3.931, allocations: 25.8 kB / 1.366 GB, free: 71.95 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002204/3.934, allocations: 0.9794 MB / 1.367 GB, free: 71.94 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.01071/3.944, allocations: 6.614 MB / 1.373 GB, free: 68.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005996/3.95, allocations: 1.368 MB / 1.375 GB, free: 68.38 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007278/3.951, allocations: 324.5 kB / 1.375 GB, free: 68.37 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006932/3.958, allocations: 4.237 MB / 1.379 GB, free: 65.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/3.958, allocations: 42.5 kB / 1.379 GB, free: 65.37 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 2.435e-06/3.958, allocations: 0 / 1.379 GB, free: 65.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.002468/3.961, allocations: 0.8571 MB / 1.38 GB, free: 65.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.442e-05/3.961, allocations: 167.2 kB / 1.38 GB, free: 65.06 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/3.963, allocations: 1.165 MB / 1.381 GB, free: 64.87 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001727/3.963, allocations: 44.67 kB / 1.381 GB, free: 64.84 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006837/3.964, allocations: 0.7052 MB / 1.382 GB, free: 64.55 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/3.964, allocations: 177.2 kB / 1.382 GB, free: 64.44 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/3.964, allocations: 24.5 kB / 1.382 GB, free: 64.44 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001502/3.965, allocations: 360.7 kB / 1.382 GB, free: 64.14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/3.966, allocations: 0.6945 MB / 1.383 GB, free: 64.14 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/3.968, allocations: 1.038 MB / 1.384 GB, free: 63.76 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/3.969, allocations: 0.9582 MB / 1.385 GB, free: 63.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/3.969, allocations: 3.312 kB / 1.385 GB, free: 63.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004946/3.974, allocations: 2.253 MB / 1.387 GB, free: 63.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001363/3.976, allocations: 3.814 MB / 1.391 GB, free: 59.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.961e-05/3.976, allocations: 8.438 kB / 1.391 GB, free: 59.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/3.977, allocations: 474.2 kB / 1.391 GB, free: 59.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008631/3.978, allocations: 219.2 kB / 1.392 GB, free: 59.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/3.979, allocations: 0.8896 MB / 1.393 GB, free: 58.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002321/3.981, allocations: 260.6 kB / 1.393 GB, free: 58.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004146/3.982, allocations: 164.4 kB / 1.393 GB, free: 58.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/3.982, allocations: 4.219 kB / 1.393 GB, free: 58.88 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006717/3.988, allocations: 3.597 MB / 1.396 GB, free: 58.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-05/3.989, allocations: 7.844 kB / 1.396 GB, free: 58.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002568/3.991, allocations: 1.169 MB / 1.398 GB, free: 58.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000743/3.992, allocations: 209.3 kB / 1.398 GB, free: 58.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/4.006, allocations: 6.627 MB / 1.404 GB, free: 56.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00267/4.008, allocations: 229.9 kB / 1.405 GB, free: 56.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003079/4.009, allocations: 143.2 kB / 1.405 GB, free: 56.41 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.00069/4.009, allocations: 180.6 kB / 1.405 GB, free: 56.29 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003578/4.01, allocations: 140.2 kB / 1.405 GB, free: 56.22 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/4.012, allocations: 1.071 MB / 1.406 GB, free: 56.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/4.012, allocations: 5.781 kB / 1.406 GB, free: 56.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/4.012, allocations: 3.719 kB / 1.406 GB, free: 56.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/4.012, allocations: 3.281 kB / 1.406 GB, free: 56.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/4.014, allocations: 0.9608 MB / 1.407 GB, free: 55.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/4.014, allocations: 0 / 1.407 GB, free: 55.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003837/4.014, allocations: 102.1 kB / 1.407 GB, free: 55.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008859/4.015, allocations: 396.8 kB / 1.407 GB, free: 55.88 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-05/4.015, allocations: 22.44 kB / 1.407 GB, free: 55.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005959/4.016, allocations: 0.7978 MB / 1.408 GB, free: 55.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/4.016, allocations: 2.5 kB / 1.408 GB, free: 55.35 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/4.017, allocations: 1.067 MB / 1.409 GB, free: 55.09 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006823/4.018, allocations: 322 kB / 1.41 GB, free: 54.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/4.018, allocations: 13.81 kB / 1.41 GB, free: 54.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005968/4.019, allocations: 55.38 kB / 1.41 GB, free: 54.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/4.019, allocations: 42.91 kB / 1.41 GB, free: 54.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.198e-05/4.019, allocations: 42.73 kB / 1.41 GB, free: 54.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00123/4.02, allocations: 0.8551 MB / 1.411 GB, free: 54.79 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.71e-07/4.02, allocations: 0 / 1.411 GB, free: 54.79 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004976/4.025, allocations: 1.199 MB / 1.412 GB, free: 54.62 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.002533/4.028, allocations: 1.003 MB / 1.413 GB, free: 54.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009611/4.038, allocations: 10.47 MB / 1.423 GB, free: 50.11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/4.038, allocations: 0 / 1.423 GB, free: 50.11 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005536/4.038, allocations: 327.3 kB / 1.423 GB, free: 50.03 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003124/4.041, allocations: 0.5643 MB / 1.424 GB, free: 49.92 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/4.044, allocations: 1.621 MB / 1.425 GB, free: 49.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007011/4.045, allocations: 1.248 MB / 1.427 GB, free: 48.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001646/4.047, allocations: 382.1 kB / 1.427 GB, free: 48.48 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/4.047, allocations: 91.98 kB / 1.427 GB, free: 48.47 MB / 0.5261 GB Notification: Performance of SimCode: time 1.643e-06/4.047, allocations: 0 / 1.427 GB, free: 48.47 MB / 0.5261 GB Notification: Performance of Templates: time 0.08748/4.134, allocations: 49.52 MB / 1.475 GB, free: 28.86 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)