Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7739/0.7739, allocations: 143.4 MB / 158.3 MB, free: 5.637 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 185 kB / 191.5 MB, free: 5.66 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.2 MB / 447.7 MB, free: 4.816 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001126, allocations: 104.2 kB / 0.5188 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001813/0.001813, allocations: 269.3 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004904/0.0004905, allocations: 13.5 kB / 0.6929 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1912, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8196/1.011, allocations: 354.3 MB / 1.12 GB, free: 15.89 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003296/1.011, allocations: 102.3 kB / 1.12 GB, free: 15.84 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8699/1.881, allocations: 241.4 MB / 1.356 GB, free: 65.06 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.924e-06/1.881, allocations: 0 / 1.356 GB, free: 65.06 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.552e-05/1.881, allocations: 20 kB / 1.356 GB, free: 65.04 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.003/1.884, allocations: 1.091 MB / 1.357 GB, free: 63.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/1.884, allocations: 8.031 kB / 1.357 GB, free: 63.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003608/1.885, allocations: 82.97 kB / 1.357 GB, free: 63.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/1.886, allocations: 0.5229 MB / 1.357 GB, free: 63.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/1.886, allocations: 37 kB / 1.357 GB, free: 63.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/1.886, allocations: 55.94 kB / 1.357 GB, free: 63.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/1.887, allocations: 0.6216 MB / 1.358 GB, free: 62.47 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/1.887, allocations: 4 kB / 1.358 GB, free: 62.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-05/1.887, allocations: 24 kB / 1.358 GB, free: 62.44 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/1.888, allocations: 15.95 kB / 1.358 GB, free: 62.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/1.889, allocations: 0.4995 MB / 1.358 GB, free: 61.93 MB / 0.698 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.004594/1.893, allocations: 3.209 MB / 1.362 GB, free: 58.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000739/1.894, allocations: 336.8 kB / 1.362 GB, free: 58.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000405/1.894, allocations: 344.5 kB / 1.362 GB, free: 57.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/1.895, allocations: 46.48 kB / 1.362 GB, free: 57.72 MB / 0.698 GB Notification: Performance of pre-optimization done (n=38): time 5.37e-06/1.895, allocations: 0 / 1.362 GB, free: 57.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=38): time 0.002274/1.897, allocations: 0.8283 MB / 1.363 GB, free: 56.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/1.897, allocations: 55.41 kB / 1.363 GB, free: 56.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007378/1.898, allocations: 0.5188 MB / 1.364 GB, free: 56.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.406e-05/1.898, allocations: 37.7 kB / 1.364 GB, free: 56.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/1.898, allocations: 332.4 kB / 1.364 GB, free: 55.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/1.898, allocations: 126.1 kB / 1.364 GB, free: 55.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/1.898, allocations: 12 kB / 1.364 GB, free: 55.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.898, allocations: 370.8 kB / 1.365 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004675/1.899, allocations: 221.1 kB / 1.365 GB, free: 55.17 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005552/1.899, allocations: 396.3 kB / 1.365 GB, free: 54.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006143/1.9, allocations: 256.6 kB / 1.365 GB, free: 54.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/1.9, allocations: 4 kB / 1.365 GB, free: 54.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001463/1.901, allocations: 0.7144 MB / 1.366 GB, free: 53.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003855/1.902, allocations: 1.748 MB / 1.368 GB, free: 51.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/1.902, allocations: 4 kB / 1.368 GB, free: 51.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006353/1.903, allocations: 156.7 kB / 1.368 GB, free: 51.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006923/1.903, allocations: 159.7 kB / 1.368 GB, free: 51.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005578/1.904, allocations: 0.6303 MB / 1.369 GB, free: 50.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008473/1.905, allocations: 111.4 kB / 1.369 GB, free: 50.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-05/1.905, allocations: 31.98 kB / 1.369 GB, free: 50.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/1.905, allocations: 4 kB / 1.369 GB, free: 50.72 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001124/1.906, allocations: 0.6075 MB / 1.369 GB, free: 50.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/1.906, allocations: 8 kB / 1.369 GB, free: 50.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/1.906, allocations: 8 kB / 1.369 GB, free: 50.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005835/1.907, allocations: 155.8 kB / 1.37 GB, free: 49.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/1.907, allocations: 16.23 kB / 1.37 GB, free: 49.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006982/1.907, allocations: 111.3 kB / 1.37 GB, free: 49.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.711e-05/1.907, allocations: 35.98 kB / 1.37 GB, free: 49.79 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003439/1.908, allocations: 268.9 kB / 1.37 GB, free: 49.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/1.908, allocations: 63.25 kB / 1.37 GB, free: 49.45 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/1.909, allocations: 0.6587 MB / 1.371 GB, free: 48.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/1.909, allocations: 7.984 kB / 1.371 GB, free: 48.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.909, allocations: 8 kB / 1.371 GB, free: 48.76 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/1.909, allocations: 3.953 kB / 1.371 GB, free: 48.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/1.912, allocations: 1.375 MB / 1.372 GB, free: 47.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/1.912, allocations: 0 / 1.372 GB, free: 47.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/1.912, allocations: 92.06 kB / 1.372 GB, free: 47.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003958/1.912, allocations: 132.7 kB / 1.372 GB, free: 47.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/1.913, allocations: 16 kB / 1.372 GB, free: 47.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004832/1.913, allocations: 0.6304 MB / 1.373 GB, free: 46.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.913, allocations: 3.953 kB / 1.373 GB, free: 46.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/1.914, allocations: 0.7565 MB / 1.374 GB, free: 45.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003158/1.915, allocations: 200 kB / 1.374 GB, free: 45.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/1.915, allocations: 8 kB / 1.374 GB, free: 45.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005204/1.915, allocations: 63.88 kB / 1.374 GB, free: 45.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.05e-05/1.915, allocations: 31.95 kB / 1.374 GB, free: 45.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.67e-05/1.915, allocations: 19.98 kB / 1.374 GB, free: 45.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004155/1.916, allocations: 403 kB / 1.374 GB, free: 44.88 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.01e-07/1.916, allocations: 7.938 kB / 1.374 GB, free: 44.87 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001536/1.917, allocations: 419.3 kB / 1.375 GB, free: 44.46 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001038/1.918, allocations: 418.1 kB / 1.375 GB, free: 44.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002054/1.92, allocations: 0.9066 MB / 1.376 GB, free: 43.15 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.92, allocations: 0 / 1.376 GB, free: 43.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006454/1.921, allocations: 295.8 kB / 1.376 GB, free: 42.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/1.922, allocations: 254.7 kB / 1.377 GB, free: 42.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/1.924, allocations: 1.294 MB / 1.378 GB, free: 41.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/1.925, allocations: 0.9236 MB / 1.379 GB, free: 40.34 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006653/1.925, allocations: 160.6 kB / 1.379 GB, free: 40.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/1.926, allocations: 59.42 kB / 1.379 GB, free: 40.12 MB / 0.698 GB Notification: Performance of SimCode: time 8.61e-07/1.926, allocations: 0 / 1.379 GB, free: 40.12 MB / 0.698 GB Notification: Performance of Templates: time 0.02107/1.947, allocations: 12.9 MB / 1.392 GB, free: 27.38 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)