Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.493/0.493, allocations: 90.91 MB / 99.34 MB, free: 2.211 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 221.5 MB / 343.2 MB, free: 1.586 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008796/0.0008799, allocations: 105.3 kB / 416 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.7e-05/1.702e-05, allocations: 3.938 kB / 494.5 MB, free: 52.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1722, allocations: 72.31 MB / 0.5535 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.205/1.378, allocations: 351 MB / 0.8963 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/1.378, allocations: 96.12 kB / 0.8964 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.573/2.951, allocations: 434.3 MB / 1.321 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.864e-06/2.951, allocations: 0 / 1.321 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.315e-05/2.951, allocations: 35.16 kB / 1.321 GB, free: 110.4 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002173/2.953, allocations: 1.324 MB / 1.322 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/2.953, allocations: 7.188 kB / 1.322 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000269/2.953, allocations: 152 kB / 1.322 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/2.955, allocations: 0.8281 MB / 1.323 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/2.955, allocations: 19.62 kB / 1.323 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/2.955, allocations: 77.09 kB / 1.323 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005993/2.955, allocations: 399.1 kB / 1.323 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007003/2.956, allocations: 0.5176 MB / 1.324 GB, free: 109.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/2.956, allocations: 0 / 1.324 GB, free: 109.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/2.956, allocations: 0 / 1.324 GB, free: 109.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/2.956, allocations: 14.88 kB / 1.324 GB, free: 109.3 MB / 0.5886 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.003651/2.96, allocations: 2.917 MB / 1.327 GB, free: 108.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003985/2.96, allocations: 310.3 kB / 1.327 GB, free: 108.1 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/2.961, allocations: 132.7 kB / 1.327 GB, free: 108 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002336/2.961, allocations: 337.8 kB / 1.327 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/2.961, allocations: 44.14 kB / 1.327 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=33): time 1.503e-06/2.961, allocations: 0 / 1.327 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=33): time 0.00114/2.962, allocations: 480.7 kB / 1.328 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/2.962, allocations: 58.97 kB / 1.328 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000581/2.963, allocations: 0.6473 MB / 1.329 GB, free: 107.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/2.963, allocations: 33.08 kB / 1.329 GB, free: 107.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/2.963, allocations: 0.5442 MB / 1.329 GB, free: 107 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.354e-05/2.963, allocations: 110 kB / 1.329 GB, free: 107 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/2.963, allocations: 0 / 1.329 GB, free: 107 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.363e-05/2.963, allocations: 327.3 kB / 1.33 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/2.963, allocations: 151.7 kB / 1.33 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009416/2.964, allocations: 1.361 MB / 1.331 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007747/2.965, allocations: 383.2 kB / 1.331 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/2.965, allocations: 1.938 kB / 1.331 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001214/2.966, allocations: 0.645 MB / 1.332 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001489/2.967, allocations: 0.8162 MB / 1.333 GB, free: 104.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/2.967, allocations: 4.094 kB / 1.333 GB, free: 104.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/2.967, allocations: 10.75 kB / 1.333 GB, free: 104.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/2.968, allocations: 205.5 kB / 1.333 GB, free: 104.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009799/2.969, allocations: 2.981 MB / 1.336 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003105/2.972, allocations: 0.8741 MB / 1.337 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.029e-05/2.972, allocations: 30.81 kB / 1.337 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/2.972, allocations: 3.969 kB / 1.337 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001033/2.973, allocations: 490.4 kB / 1.337 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/2.973, allocations: 6.75 kB / 1.337 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.254e-06/2.973, allocations: 4.25 kB / 1.337 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006175/2.974, allocations: 168.9 kB / 1.337 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/2.974, allocations: 3.688 kB / 1.337 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003138/2.977, allocations: 0.8642 MB / 1.338 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.444e-05/2.977, allocations: 28.95 kB / 1.338 GB, free: 101.7 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003079/2.977, allocations: 137.4 kB / 1.338 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/2.977, allocations: 86.25 kB / 1.339 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/2.979, allocations: 0.5358 MB / 1.339 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/2.979, allocations: 6.844 kB / 1.339 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/2.979, allocations: 3.953 kB / 1.339 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/2.979, allocations: 3.891 kB / 1.339 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/2.981, allocations: 1.213 MB / 1.34 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/2.981, allocations: 3.875 kB / 1.34 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005117/2.982, allocations: 122.3 kB / 1.34 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/2.982, allocations: 7.281 kB / 1.34 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/2.982, allocations: 7.219 kB / 1.34 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008428/2.983, allocations: 2.939 MB / 1.343 GB, free: 98.22 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/2.983, allocations: 1.5 kB / 1.343 GB, free: 98.22 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/2.984, allocations: 0.6571 MB / 1.344 GB, free: 97.93 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003262/2.984, allocations: 214.8 kB / 1.344 GB, free: 97.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-05/2.984, allocations: 5.188 kB / 1.344 GB, free: 97.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005368/2.985, allocations: 66.88 kB / 1.344 GB, free: 97.78 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.533e-05/2.985, allocations: 22 kB / 1.344 GB, free: 97.78 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-05/2.985, allocations: 16 kB / 1.344 GB, free: 97.78 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005112/2.985, allocations: 495.6 kB / 1.345 GB, free: 97.66 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/2.985, allocations: 3.781 kB / 1.345 GB, free: 97.66 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00187/2.987, allocations: 0.5832 MB / 1.345 GB, free: 97.57 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008442/2.988, allocations: 0.5045 MB / 1.346 GB, free: 97.41 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002014/2.99, allocations: 0.7365 MB / 1.347 GB, free: 97.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/2.99, allocations: 0 / 1.347 GB, free: 97.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004045/2.991, allocations: 203.1 kB / 1.347 GB, free: 97.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/2.993, allocations: 386 kB / 1.347 GB, free: 97.39 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/2.994, allocations: 1.028 MB / 1.348 GB, free: 97.01 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/2.995, allocations: 1.05 MB / 1.349 GB, free: 96.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001318/2.996, allocations: 243.9 kB / 1.349 GB, free: 96.28 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/2.996, allocations: 59.66 kB / 1.349 GB, free: 96.28 MB / 0.5886 GB Notification: Performance of SimCode: time 5.11e-07/2.996, allocations: 0 / 1.349 GB, free: 96.28 MB / 0.5886 GB Notification: Performance of Templates: time 0.03229/3.028, allocations: 24.54 MB / 1.373 GB, free: 90.66 MB / 0.5886 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)