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/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 100.9 kB / 16.4 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 196 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7075/0.7075, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 65.94 kB / 0.5577 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1769, allocations: 76.17 MB / 0.6321 GB, free: 4.52 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03061/0.2076, allocations: 30.74 MB / 0.6621 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01511/0.2227, allocations: 10.83 MB / 0.6727 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/0.2241, allocations: 23.81 kB / 0.6727 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.2255, allocations: 413.2 kB / 0.6731 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003095/0.2286, allocations: 1.196 MB / 0.6743 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.2309, allocations: 0.8528 MB / 0.6751 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002851/0.2337, allocations: 2.071 MB / 0.6771 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009881/0.2347, allocations: 0.6894 MB / 0.6778 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.2367, allocations: 0.9999 MB / 0.6788 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008752/0.2375, allocations: 0.6729 MB / 0.6794 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.872e-05/0.2376, allocations: 56 kB / 0.6795 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.2389, allocations: 0.6122 MB / 0.6801 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.2391, allocations: 159.2 kB / 0.6802 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004232/0.2395, allocations: 441.6 kB / 0.6806 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.2409, allocations: 1.094 MB / 0.6817 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2409, allocations: 4 kB / 0.6817 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2409, allocations: 0 / 0.6817 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.2409, allocations: 0 / 0.6817 GB, free: 1.5 MB / 0.5137 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.001718/0.2427, allocations: 1.167 MB / 0.6829 GB, free: 288 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.2427, allocations: 8.031 kB / 0.6829 GB, free: 280 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.2429, allocations: 95.81 kB / 0.683 GB, free: 184 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008514/0.2437, allocations: 0.5928 MB / 0.6835 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.2438, allocations: 37 kB / 0.6836 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.349e-05/0.2439, allocations: 60 kB / 0.6836 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007396/0.2446, allocations: 406.4 kB / 0.684 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.2446, allocations: 4 kB / 0.684 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.356e-05/0.2447, allocations: 20 kB / 0.684 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.2447, allocations: 12 kB / 0.6841 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006223/0.2454, allocations: 299.8 kB / 0.6843 GB, free: 14.72 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002903/0.2483, allocations: 1.854 MB / 0.6861 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003585/0.2487, allocations: 174.4 kB / 0.6863 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.2489, allocations: 80.81 kB / 0.6864 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002893/0.2492, allocations: 336.4 kB / 0.6867 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.2492, allocations: 38.55 kB / 0.6867 GB, free: 12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 2.194e-06/0.2492, allocations: 4 kB / 0.6868 GB, free: 12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=19): time 0.0007563/0.25, allocations: 306.8 kB / 0.687 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.25, allocations: 59.39 kB / 0.6871 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008595/0.2509, allocations: 0.6843 MB / 0.6878 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.2509, allocations: 29.7 kB / 0.6878 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.2512, allocations: 364.7 kB / 0.6881 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/0.2513, allocations: 71.05 kB / 0.6882 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.2514, allocations: 93.95 kB / 0.6883 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.2516, allocations: 378.7 kB / 0.6887 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.2518, allocations: 110.3 kB / 0.6888 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/0.2522, allocations: 187.4 kB / 0.6889 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004599/0.2526, allocations: 240.9 kB / 0.6892 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2526, allocations: 0 / 0.6892 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000776/0.2534, allocations: 394.2 kB / 0.6896 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.2535, allocations: 4.109 kB / 0.6896 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.2535, allocations: 7.938 kB / 0.6896 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.2535, allocations: 4 kB / 0.6896 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.2546, allocations: 159.7 kB / 0.6897 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.2561, allocations: 2.364 MB / 0.692 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005615/0.2567, allocations: 55.61 kB / 0.6921 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.556e-05/0.2568, allocations: 16 kB / 0.6921 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004688/0.2572, allocations: 247.8 kB / 0.6923 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003153/0.2576, allocations: 191.3 kB / 0.6925 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004391/0.258, allocations: 219.7 kB / 0.6927 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/0.258, allocations: 0 / 0.6927 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006714/0.2587, allocations: 380.1 kB / 0.6931 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.2587, allocations: 8.031 kB / 0.6931 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2587, allocations: 4 kB / 0.6931 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.442e-06/0.2588, allocations: 3.984 kB / 0.6931 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004331/0.2592, allocations: 103.8 kB / 0.6932 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.2592, allocations: 4 kB / 0.6932 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004637/0.2597, allocations: 35.81 kB / 0.6932 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.2597, allocations: 12 kB / 0.6933 GB, free: 5.105 MB / 0.5294 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 () * Number of clocked 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001554/0.2599, allocations: 212.1 kB / 0.6935 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.26, allocations: 71.06 kB / 0.6935 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006837/0.2607, allocations: 297.2 kB / 0.6938 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/0.2607, allocations: 4 kB / 0.6938 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.2607, allocations: 4 kB / 0.6938 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.2607, allocations: 192 / 0.6938 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.262, allocations: 0.8916 MB / 0.6947 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.262, allocations: 4 kB / 0.6947 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003367/0.2623, allocations: 84.06 kB / 0.6948 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.2624, allocations: 0 / 0.6948 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.2624, allocations: 11.98 kB / 0.6948 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.2635, allocations: 2.352 MB / 0.6971 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2635, allocations: 0 / 0.6971 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005556/0.264, allocations: 407.6 kB / 0.6975 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.2642, allocations: 168.1 kB / 0.6976 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.457e-05/0.2643, allocations: 0 / 0.6976 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.2647, allocations: 27.97 kB / 0.6977 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.736e-05/0.2648, allocations: 19.92 kB / 0.6977 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.2648, allocations: 7.984 kB / 0.6977 GB, free: 348 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005614/0.2653, allocations: 479 kB / 0.6981 GB, free: 15.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2654, allocations: 0 / 0.6981 GB, free: 15.88 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009118/0.2663, allocations: 347.2 kB / 0.6985 GB, free: 15.54 MB / 0.545 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 () * Number of clocked 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005844/0.2669, allocations: 250.1 kB / 0.6987 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001639/0.2685, allocations: 0.4906 MB / 0.6992 GB, free: 14.81 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2685, allocations: 0 / 0.6992 GB, free: 14.81 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004016/0.2689, allocations: 139.8 kB / 0.6993 GB, free: 14.67 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.2704, allocations: 321.3 kB / 0.6996 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.2723, allocations: 1.116 MB / 0.7007 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.2727, allocations: 0.9335 MB / 0.7016 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004141/0.2732, allocations: 117.2 kB / 0.7017 GB, free: 12.13 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.897e-05/0.2733, allocations: 43.44 kB / 0.7018 GB, free: 12.09 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.2733, allocations: 0 / 0.7018 GB, free: 12.09 MB / 0.545 GB Notification: Performance of Templates: time 0.02168/0.295, allocations: 12.64 MB / 0.7141 GB, free: 15.65 MB / 0.5606 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)