Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7678/0.7678, allocations: 127.4 MB / 134.9 MB, free: 3.473 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 181.4 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.3 MB / 399.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008502/0.0008502, allocations: 92.36 kB / 476.7 MB, free: 1.453 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.951e-05/1.942e-05, allocations: 3.125 kB / 0.5466 GB, free: 95.44 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1679, allocations: 76.77 MB / 0.6215 GB, free: 43.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7934/0.9614, allocations: 358 MB / 0.9711 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.9617, allocations: 97.53 kB / 0.9712 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.577/2.538, allocations: 396.5 MB / 1.358 GB, free: 144 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.884e-06/2.538, allocations: 0 / 1.358 GB, free: 144 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001128/2.538, allocations: 24.81 kB / 1.358 GB, free: 144 MB / 0.6511 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.002398/2.541, allocations: 1.024 MB / 1.359 GB, free: 143.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/2.541, allocations: 11.28 kB / 1.359 GB, free: 143.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003561/2.541, allocations: 90.59 kB / 1.359 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/2.543, allocations: 0.57 MB / 1.36 GB, free: 143 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/2.543, allocations: 20.58 kB / 1.36 GB, free: 143 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.605e-05/2.543, allocations: 32.72 kB / 1.36 GB, free: 143 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004672/2.543, allocations: 233.4 kB / 1.36 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000521/2.544, allocations: 307.7 kB / 1.361 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/2.544, allocations: 0 / 1.361 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/2.544, allocations: 3.938 kB / 1.361 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/2.544, allocations: 11.78 kB / 1.361 GB, free: 142.8 MB / 0.6511 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.002933/2.547, allocations: 2.027 MB / 1.363 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/2.547, allocations: 136.8 kB / 1.363 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.107e-05/2.547, allocations: 39.59 kB / 1.363 GB, free: 141.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/2.547, allocations: 3.938 kB / 1.363 GB, free: 141.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/2.547, allocations: 41.86 kB / 1.363 GB, free: 141.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 2.554e-06/2.547, allocations: 2.781 kB / 1.363 GB, free: 141.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.001104/2.548, allocations: 264.7 kB / 1.363 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/2.548, allocations: 54.75 kB / 1.363 GB, free: 141 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005385/2.549, allocations: 487.6 kB / 1.364 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.721e-05/2.549, allocations: 25.7 kB / 1.364 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/2.549, allocations: 387.4 kB / 1.364 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/2.549, allocations: 43.95 kB / 1.364 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.142e-05/2.549, allocations: 0 / 1.364 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.853e-05/2.549, allocations: 371.6 kB / 1.364 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/2.549, allocations: 87.12 kB / 1.364 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/2.55, allocations: 202.2 kB / 1.365 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/2.55, allocations: 120.8 kB / 1.365 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/2.55, allocations: 2.906 kB / 1.365 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006003/2.551, allocations: 348.8 kB / 1.365 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.794e-05/2.551, allocations: 277.9 kB / 1.365 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/2.551, allocations: 6.344 kB / 1.365 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/2.551, allocations: 3.953 kB / 1.365 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002856/2.554, allocations: 448.8 kB / 1.366 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/2.556, allocations: 2.577 MB / 1.368 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008126/2.557, allocations: 102.2 kB / 1.368 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/2.557, allocations: 19.14 kB / 1.368 GB, free: 137 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/2.557, allocations: 3.375 kB / 1.368 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004186/2.557, allocations: 204.9 kB / 1.369 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/2.557, allocations: 0 / 1.369 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.689e-06/2.557, allocations: 6.906 kB / 1.369 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/2.557, allocations: 101.5 kB / 1.369 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/2.558, allocations: 3.953 kB / 1.369 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005546/2.558, allocations: 69.75 kB / 1.369 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/2.558, allocations: 15.7 kB / 1.369 GB, free: 136.9 MB / 0.6511 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 (43): * Single equations (assignments): 39 * 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 0.0001214/2.558, allocations: 111.3 kB / 1.369 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/2.558, allocations: 60 kB / 1.369 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/2.558, allocations: 46.86 kB / 1.369 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/2.558, allocations: 3.969 kB / 1.369 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/2.558, allocations: 0 / 1.369 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/2.559, allocations: 6.641 kB / 1.369 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006175/2.559, allocations: 428 kB / 1.369 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/2.559, allocations: 0 / 1.369 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002728/2.562, allocations: 450.8 kB / 1.37 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/2.562, allocations: 2.875 kB / 1.37 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/2.562, allocations: 0 / 1.37 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006041/2.568, allocations: 5.548 MB / 1.375 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/2.568, allocations: 5.812 kB / 1.375 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/2.568, allocations: 275 kB / 1.376 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/2.569, allocations: 143.2 kB / 1.376 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.542e-05/2.569, allocations: 6.891 kB / 1.376 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005442/2.569, allocations: 56.62 kB / 1.376 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.399e-05/2.569, allocations: 19.75 kB / 1.376 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/2.569, allocations: 8.688 kB / 1.376 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004337/2.57, allocations: 373.1 kB / 1.376 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.1e-07/2.57, allocations: 3.156 kB / 1.376 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001396/2.571, allocations: 384.1 kB / 1.377 GB, free: 130.4 MB / 0.6511 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 (13): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0009754/2.572, allocations: 497.8 kB / 1.377 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003037/2.575, allocations: 0.6655 MB / 1.378 GB, free: 130 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/2.575, allocations: 3.156 kB / 1.378 GB, free: 130 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002532/2.578, allocations: 430.1 kB / 1.378 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/2.579, allocations: 285.9 kB / 1.378 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/2.581, allocations: 0.6826 MB / 1.379 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/2.581, allocations: 0.9258 MB / 1.38 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005972/2.582, allocations: 125.2 kB / 1.38 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.089e-05/2.582, allocations: 31.88 kB / 1.38 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of SimCode: time 7.51e-07/2.582, allocations: 0 / 1.38 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of Templates: time 0.02093/2.603, allocations: 12.79 MB / 1.393 GB, free: 119.5 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)