Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9311/0.9311, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.001056/0.001056, allocations: 176.9 kB / 182.2 MB, free: 9.453 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.445/1.445, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0008949/0.0008948, allocations: 88.11 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001712/0.001712, allocations: 275.3 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.699e-05/1.702e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4463/0.4463, allocations: 82.77 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8685/1.315, allocations: 355.5 MB / 1.105 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/1.315, allocations: 102.2 kB / 1.105 GB, free: 9.156 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.64/2.955, allocations: 414.9 MB / 1.51 GB, free: 161.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.114e-06/2.955, allocations: 2.156 kB / 1.51 GB, free: 161.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.55e-05/2.955, allocations: 22.72 kB / 1.51 GB, free: 161.3 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001848/2.957, allocations: 1.045 MB / 1.511 GB, free: 160.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/2.957, allocations: 11.19 kB / 1.511 GB, free: 160.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/2.957, allocations: 95.19 kB / 1.511 GB, free: 160.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000902/2.958, allocations: 0.5861 MB / 1.512 GB, free: 160.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/2.958, allocations: 17.5 kB / 1.512 GB, free: 160.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/2.958, allocations: 33.22 kB / 1.512 GB, free: 160.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004263/2.959, allocations: 240.7 kB / 1.512 GB, free: 160.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005068/2.959, allocations: 312.8 kB / 1.512 GB, free: 160.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/2.959, allocations: 0 / 1.512 GB, free: 160.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/2.959, allocations: 0 / 1.512 GB, free: 160.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/2.959, allocations: 13.69 kB / 1.512 GB, free: 160.4 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.002396/2.962, allocations: 1.74 MB / 1.514 GB, free: 159.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/2.962, allocations: 155.6 kB / 1.514 GB, free: 159.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.294e-05/2.962, allocations: 61.78 kB / 1.514 GB, free: 159.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002767/2.962, allocations: 344.9 kB / 1.514 GB, free: 159.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/2.962, allocations: 30.91 kB / 1.514 GB, free: 159.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.353e-06/2.962, allocations: 2.719 kB / 1.514 GB, free: 159.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.0004935/2.963, allocations: 214.3 kB / 1.515 GB, free: 159.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/2.963, allocations: 55.36 kB / 1.515 GB, free: 159 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004961/2.963, allocations: 499.3 kB / 1.515 GB, free: 158.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/2.963, allocations: 28.83 kB / 1.515 GB, free: 158.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/2.964, allocations: 373.9 kB / 1.516 GB, free: 158.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/2.964, allocations: 63.14 kB / 1.516 GB, free: 158.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.601e-05/2.964, allocations: 0 / 1.516 GB, free: 158.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001232/2.964, allocations: 368.5 kB / 1.516 GB, free: 158.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/2.964, allocations: 80.38 kB / 1.516 GB, free: 158.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/2.964, allocations: 198.4 kB / 1.516 GB, free: 158.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/2.964, allocations: 118 kB / 1.516 GB, free: 158.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/2.964, allocations: 0 / 1.516 GB, free: 158.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005059/2.965, allocations: 335.3 kB / 1.517 GB, free: 158.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.477e-05/2.965, allocations: 278.8 kB / 1.517 GB, free: 157.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/2.965, allocations: 0 / 1.517 GB, free: 157.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/2.965, allocations: 6.812 kB / 1.517 GB, free: 157.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008989/2.966, allocations: 136 kB / 1.517 GB, free: 157.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009401/2.967, allocations: 2.386 MB / 1.519 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005984/2.967, allocations: 72.42 kB / 1.519 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-05/2.968, allocations: 21.62 kB / 1.519 GB, free: 155.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/2.968, allocations: 7.453 kB / 1.519 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004063/2.968, allocations: 225.8 kB / 1.52 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/2.968, allocations: 0 / 1.52 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.4e-06/2.968, allocations: 3.969 kB / 1.52 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/2.968, allocations: 106.2 kB / 1.52 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/2.968, allocations: 3.875 kB / 1.52 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/2.969, allocations: 62.16 kB / 1.52 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/2.969, allocations: 21.59 kB / 1.52 GB, free: 155.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.991e-05/2.969, allocations: 111.9 kB / 1.52 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.203e-05/2.969, allocations: 63.39 kB / 1.52 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005162/2.97, allocations: 267.9 kB / 1.52 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/2.97, allocations: 3.875 kB / 1.52 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/2.97, allocations: 0 / 1.52 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/2.97, allocations: 0 / 1.52 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009997/2.971, allocations: 0.7856 MB / 1.521 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/2.971, allocations: 2.531 kB / 1.521 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/2.971, allocations: 82.14 kB / 1.521 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/2.971, allocations: 3 kB / 1.521 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/2.971, allocations: 7.125 kB / 1.521 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007437/2.972, allocations: 2.356 MB / 1.523 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/2.972, allocations: 2.344 kB / 1.523 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004164/2.972, allocations: 402.9 kB / 1.524 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/2.972, allocations: 171.6 kB / 1.524 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/2.972, allocations: 2.859 kB / 1.524 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/2.973, allocations: 56.53 kB / 1.524 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/2.973, allocations: 19.14 kB / 1.524 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/2.973, allocations: 3.938 kB / 1.524 GB, free: 152.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003745/2.973, allocations: 375.1 kB / 1.524 GB, free: 152.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/2.973, allocations: 0 / 1.524 GB, free: 152.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00112/2.974, allocations: 377.5 kB / 1.525 GB, free: 152.1 MB / 0.698 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008846/2.975, allocations: 475 kB / 1.525 GB, free: 152 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00111/2.976, allocations: 421.5 kB / 1.526 GB, free: 152 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/2.976, allocations: 0 / 1.526 GB, free: 152 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002607/2.977, allocations: 106.3 kB / 1.526 GB, free: 152 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/2.978, allocations: 290.7 kB / 1.526 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/2.979, allocations: 0.7339 MB / 1.527 GB, free: 151.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/2.98, allocations: 0.9461 MB / 1.528 GB, free: 150.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005437/2.98, allocations: 138 kB / 1.528 GB, free: 150.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.695e-05/2.98, allocations: 34.38 kB / 1.528 GB, free: 150.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.9e-07/2.98, allocations: 0 / 1.528 GB, free: 150.9 MB / 0.698 GB Notification: Performance of Templates: time 0.01919/3, allocations: 12.27 MB / 1.54 GB, free: 150.7 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)