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.7868/0.7868, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001041/0.001041, allocations: 180.1 kB / 182.2 MB, free: 9.457 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.442/1.442, allocations: 221.5 MB / 436.4 MB, free: 13.25 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.0008362/0.0008362, allocations: 83.86 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001658/0.001658, allocations: 285.1 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.951e-05/1.955e-05, allocations: 4 kB / 0.6765 GB, free: 12.79 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.45/0.45, allocations: 82.76 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8506/1.301, allocations: 353.6 MB / 1.103 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/1.301, allocations: 96.5 kB / 1.103 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.9332/2.234, allocations: 238.9 MB / 1.336 GB, free: 114.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.844e-06/2.234, allocations: 0 / 1.336 GB, free: 114.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.357e-05/2.234, allocations: 16 kB / 1.336 GB, free: 114.5 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.00221/2.237, allocations: 0.9736 MB / 1.337 GB, free: 113.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/2.237, allocations: 8.031 kB / 1.337 GB, free: 113.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003067/2.237, allocations: 83.06 kB / 1.337 GB, free: 113.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/2.238, allocations: 0.5077 MB / 1.338 GB, free: 112.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/2.238, allocations: 19.94 kB / 1.338 GB, free: 112.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.87e-05/2.238, allocations: 28 kB / 1.338 GB, free: 112.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006212/2.239, allocations: 354.5 kB / 1.338 GB, free: 112.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006809/2.239, allocations: 0.5103 MB / 1.339 GB, free: 111.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/2.24, allocations: 3.938 kB / 1.339 GB, free: 111.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.039e-05/2.24, allocations: 7.953 kB / 1.339 GB, free: 111.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/2.24, allocations: 12 kB / 1.339 GB, free: 111.9 MB / 0.698 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.003121/2.243, allocations: 3.121 MB / 1.342 GB, free: 108.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003936/2.243, allocations: 290.7 kB / 1.342 GB, free: 108.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/2.243, allocations: 180.6 kB / 1.342 GB, free: 108.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002668/2.244, allocations: 348.4 kB / 1.342 GB, free: 107.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/2.244, allocations: 34.56 kB / 1.342 GB, free: 107.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=38): time 2.364e-06/2.244, allocations: 0 / 1.342 GB, free: 107.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=38): time 0.002071/2.246, allocations: 0.673 MB / 1.343 GB, free: 107 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/2.246, allocations: 55.41 kB / 1.343 GB, free: 106.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004519/2.246, allocations: 443.4 kB / 1.344 GB, free: 106.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/2.246, allocations: 37.62 kB / 1.344 GB, free: 106.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/2.246, allocations: 328.2 kB / 1.344 GB, free: 106.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.317e-05/2.247, allocations: 126.1 kB / 1.344 GB, free: 106 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/2.247, allocations: 0 / 1.344 GB, free: 106 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.027e-05/2.247, allocations: 370.7 kB / 1.344 GB, free: 105.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/2.247, allocations: 153.1 kB / 1.345 GB, free: 105.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002905/2.247, allocations: 323 kB / 1.345 GB, free: 105.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/2.249, allocations: 436.4 kB / 1.345 GB, free: 104.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/2.249, allocations: 0 / 1.345 GB, free: 104.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001918/2.251, allocations: 0.7968 MB / 1.346 GB, free: 103.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003669/2.251, allocations: 1.754 MB / 1.348 GB, free: 101.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/2.251, allocations: 4 kB / 1.348 GB, free: 101.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003981/2.251, allocations: 100.8 kB / 1.348 GB, free: 101.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/2.252, allocations: 143.8 kB / 1.348 GB, free: 101.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008206/2.253, allocations: 0.7006 MB / 1.349 GB, free: 101 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006889/2.253, allocations: 91.47 kB / 1.349 GB, free: 100.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.099e-05/2.253, allocations: 31.98 kB / 1.349 GB, free: 100.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/2.254, allocations: 8 kB / 1.349 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00167/2.255, allocations: 0.6623 MB / 1.349 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/2.255, allocations: 8.094 kB / 1.349 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/2.255, allocations: 8 kB / 1.349 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005504/2.256, allocations: 163.7 kB / 1.35 GB, free: 100 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/2.256, allocations: 7.984 kB / 1.35 GB, free: 100 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006525/2.256, allocations: 75.55 kB / 1.35 GB, free: 99.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.197e-05/2.257, allocations: 31.98 kB / 1.35 GB, free: 99.89 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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 prepare postOptimizeDAE: time 0.0001451/2.257, allocations: 128.8 kB / 1.35 GB, free: 99.76 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/2.257, allocations: 59.25 kB / 1.35 GB, free: 99.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/2.259, allocations: 0.7563 MB / 1.351 GB, free: 98.93 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/2.259, allocations: 4 kB / 1.351 GB, free: 98.93 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/2.259, allocations: 3.953 kB / 1.351 GB, free: 98.92 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/2.259, allocations: 0 / 1.351 GB, free: 98.92 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/2.262, allocations: 1.426 MB / 1.352 GB, free: 97.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/2.262, allocations: 4 kB / 1.352 GB, free: 97.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003387/2.262, allocations: 95.97 kB / 1.352 GB, free: 97.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003174/2.262, allocations: 108.8 kB / 1.352 GB, free: 97.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/2.263, allocations: 12.05 kB / 1.352 GB, free: 97.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007382/2.263, allocations: 0.6888 MB / 1.353 GB, free: 96.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/2.263, allocations: 4.031 kB / 1.353 GB, free: 96.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/2.265, allocations: 0.8735 MB / 1.354 GB, free: 95.58 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/2.265, allocations: 196 kB / 1.354 GB, free: 95.37 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/2.266, allocations: 4 kB / 1.354 GB, free: 95.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004982/2.266, allocations: 47.94 kB / 1.354 GB, free: 95.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.184e-05/2.266, allocations: 31.95 kB / 1.354 GB, free: 95.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.792e-05/2.266, allocations: 23.89 kB / 1.354 GB, free: 95.26 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003296/2.266, allocations: 339.2 kB / 1.354 GB, free: 94.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/2.267, allocations: 0 / 1.354 GB, free: 94.93 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001385/2.268, allocations: 399.1 kB / 1.355 GB, free: 94.54 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 () * 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.0009803/2.269, allocations: 417.4 kB / 1.355 GB, free: 94.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001359/2.27, allocations: 0.7073 MB / 1.356 GB, free: 93.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/2.27, allocations: 0.875 kB / 1.356 GB, free: 93.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004128/2.271, allocations: 235.9 kB / 1.356 GB, free: 93.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/2.272, allocations: 231.6 kB / 1.356 GB, free: 92.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/2.273, allocations: 0.728 MB / 1.357 GB, free: 92.22 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/2.274, allocations: 0.9245 MB / 1.358 GB, free: 91.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007538/2.274, allocations: 168.7 kB / 1.358 GB, free: 91.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/2.275, allocations: 51.41 kB / 1.358 GB, free: 91.05 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/2.275, allocations: 0 / 1.358 GB, free: 91.05 MB / 0.698 GB Notification: Performance of Templates: time 0.01893/2.294, allocations: 12.15 MB / 1.37 GB, free: 79.02 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)