Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001255, allocations: 182 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4695/0.4695, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 221.3 MB / 348.3 MB, free: 460 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008861/0.0008861, allocations: 96.84 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.874e-05/2.877e-05, allocations: 4 kB / 0.4896 GB, free: 5.379 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3736, allocations: 72.31 MB / 0.5602 GB, free: 40.46 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6902/1.064, allocations: 349 MB / 0.9011 GB, free: 0.8672 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/1.064, allocations: 90.86 kB / 0.9012 GB, free: 0.8203 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.597/2.661, allocations: 417.6 MB / 1.309 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.723e-06/2.661, allocations: 4 kB / 1.309 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001035/2.661, allocations: 20 kB / 1.309 GB, free: 102.9 MB / 0.6042 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.002368/2.664, allocations: 1.051 MB / 1.31 GB, free: 101.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/2.664, allocations: 19.23 kB / 1.31 GB, free: 101.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003551/2.664, allocations: 98.81 kB / 1.31 GB, free: 101.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/2.665, allocations: 0.5703 MB / 1.311 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.394e-05/2.665, allocations: 41 kB / 1.311 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/2.666, allocations: 60 kB / 1.311 GB, free: 101 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006683/2.666, allocations: 374.5 kB / 1.311 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/2.666, allocations: 352 / 1.311 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/2.666, allocations: 23.08 kB / 1.311 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/2.666, allocations: 11.98 kB / 1.311 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000416/2.667, allocations: 256 kB / 1.311 GB, free: 100.4 MB / 0.6042 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.002844/2.67, allocations: 1.867 MB / 1.313 GB, free: 98.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/2.67, allocations: 142.5 kB / 1.313 GB, free: 98.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.718e-05/2.67, allocations: 72.09 kB / 1.313 GB, free: 98.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00025/2.67, allocations: 336.4 kB / 1.314 GB, free: 97.74 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/2.67, allocations: 38.56 kB / 1.314 GB, free: 97.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/2.67, allocations: 3.938 kB / 1.314 GB, free: 97.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.0004515/2.671, allocations: 220.1 kB / 1.314 GB, free: 97.47 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/2.671, allocations: 55.41 kB / 1.314 GB, free: 97.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006342/2.671, allocations: 0.593 MB / 1.315 GB, free: 96.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/2.672, allocations: 33.7 kB / 1.315 GB, free: 96.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/2.672, allocations: 360.8 kB / 1.315 GB, free: 96.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/2.672, allocations: 67.06 kB / 1.315 GB, free: 96.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.726e-05/2.672, allocations: 15.94 kB / 1.315 GB, free: 96.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.862e-05/2.672, allocations: 374.8 kB / 1.315 GB, free: 95.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/2.672, allocations: 80.75 kB / 1.316 GB, free: 95.87 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/2.672, allocations: 204.3 kB / 1.316 GB, free: 95.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/2.672, allocations: 108.5 kB / 1.316 GB, free: 95.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/2.672, allocations: 3.953 kB / 1.316 GB, free: 95.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004921/2.673, allocations: 350.1 kB / 1.316 GB, free: 95.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.685e-05/2.673, allocations: 278.9 kB / 1.316 GB, free: 94.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/2.673, allocations: 0 / 1.316 GB, free: 94.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/2.673, allocations: 4 kB / 1.316 GB, free: 94.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008448/2.674, allocations: 142.8 kB / 1.317 GB, free: 94.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009202/2.675, allocations: 2.359 MB / 1.319 GB, free: 92.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006759/2.676, allocations: 97.08 kB / 1.319 GB, free: 92.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.422e-05/2.676, allocations: 16 kB / 1.319 GB, free: 92.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/2.676, allocations: 4 kB / 1.319 GB, free: 92.19 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003687/2.676, allocations: 256 kB / 1.319 GB, free: 91.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/2.676, allocations: 4 kB / 1.319 GB, free: 91.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.97e-06/2.676, allocations: 2.469 kB / 1.319 GB, free: 91.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/2.676, allocations: 95.88 kB / 1.319 GB, free: 91.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/2.676, allocations: 4 kB / 1.319 GB, free: 91.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005754/2.677, allocations: 100.6 kB / 1.319 GB, free: 91.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/2.677, allocations: 12 kB / 1.319 GB, free: 91.73 MB / 0.6042 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.902e-05/2.677, allocations: 123.6 kB / 1.32 GB, free: 91.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.294e-05/2.677, allocations: 67.16 kB / 1.32 GB, free: 91.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005165/2.678, allocations: 283.3 kB / 1.32 GB, free: 91.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/2.678, allocations: 0 / 1.32 GB, free: 91.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/2.678, allocations: 3.938 kB / 1.32 GB, free: 91.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/2.678, allocations: 11.88 kB / 1.32 GB, free: 91.24 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/2.679, allocations: 0.8638 MB / 1.321 GB, free: 90.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/2.679, allocations: 0 / 1.321 GB, free: 90.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003047/2.679, allocations: 74.45 kB / 1.321 GB, free: 90.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/2.679, allocations: 0 / 1.321 GB, free: 90.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/2.679, allocations: 8 kB / 1.321 GB, free: 90.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000692/2.68, allocations: 2.353 MB / 1.323 GB, free: 87.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/2.68, allocations: 32 / 1.323 GB, free: 87.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/2.68, allocations: 427.9 kB / 1.324 GB, free: 87.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/2.681, allocations: 172 kB / 1.324 GB, free: 87.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.596e-05/2.681, allocations: 8 kB / 1.324 GB, free: 87.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004453/2.681, allocations: 59.84 kB / 1.324 GB, free: 87.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/2.681, allocations: 22.2 kB / 1.324 GB, free: 87.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/2.681, allocations: 4 kB / 1.324 GB, free: 87.06 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004854/2.682, allocations: 467.1 kB / 1.324 GB, free: 86.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/2.682, allocations: 0 / 1.324 GB, free: 86.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001088/2.683, allocations: 391.4 kB / 1.325 GB, free: 86.23 MB / 0.6042 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.0008851/2.684, allocations: 471.8 kB / 1.325 GB, free: 85.83 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001105/2.685, allocations: 431.3 kB / 1.325 GB, free: 85.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/2.685, allocations: 0 / 1.325 GB, free: 85.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002888/2.685, allocations: 121.7 kB / 1.326 GB, free: 85.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/2.687, allocations: 365.8 kB / 1.326 GB, free: 84.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/2.688, allocations: 0.7614 MB / 1.327 GB, free: 84.17 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/2.689, allocations: 0.9496 MB / 1.328 GB, free: 83.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000708/2.689, allocations: 156.5 kB / 1.328 GB, free: 83.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.065e-05/2.689, allocations: 43.42 kB / 1.328 GB, free: 83.03 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/2.689, allocations: 0 / 1.328 GB, free: 83.03 MB / 0.6042 GB Notification: Performance of Templates: time 0.0247/2.714, allocations: 16.6 MB / 1.344 GB, free: 67 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)