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.001127, allocations: 100.7 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.001204/0.001204, 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7513/0.7513, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 59.47 kB / 0.5577 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.174, allocations: 76.18 MB / 0.6321 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03039/0.2045, allocations: 30.74 MB / 0.6621 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01428/0.2188, allocations: 10.84 MB / 0.6727 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/0.2207, allocations: 23.81 kB / 0.6727 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.2222, allocations: 393.3 kB / 0.6731 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003465/0.2257, allocations: 1.16 MB / 0.6742 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002568/0.2283, allocations: 0.8459 MB / 0.675 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002708/0.231, allocations: 2.057 MB / 0.677 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.2322, allocations: 0.6817 MB / 0.6777 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00221/0.2344, allocations: 0.9998 MB / 0.6787 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.2357, allocations: 0.6613 MB / 0.6793 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002093/0.2359, allocations: 56 kB / 0.6794 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.2374, allocations: 0.6161 MB / 0.68 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002545/0.2377, allocations: 175.2 kB / 0.6802 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006115/0.2383, allocations: 425.8 kB / 0.6806 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.24, allocations: 1.094 MB / 0.6816 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.24, allocations: 4 kB / 0.6816 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.24, allocations: 0 / 0.6816 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.573e-05/0.2401, allocations: 0 / 0.6816 GB, free: 1.469 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.002124/0.2422, allocations: 1.163 MB / 0.6828 GB, free: 260 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2422, allocations: 12.03 kB / 0.6828 GB, free: 248 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.2424, allocations: 95.75 kB / 0.6829 GB, free: 152 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009324/0.2433, allocations: 0.5968 MB / 0.6835 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/0.2434, allocations: 41 kB / 0.6835 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.619e-05/0.2435, allocations: 55.94 kB / 0.6836 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007176/0.2442, allocations: 410.4 kB / 0.6839 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.2442, allocations: 8 kB / 0.684 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.671e-05/0.2442, allocations: 16 kB / 0.684 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.2443, allocations: 8 kB / 0.684 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005836/0.2448, allocations: 299.8 kB / 0.6843 GB, free: 14.68 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.002733/0.2476, allocations: 1.861 MB / 0.6861 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003597/0.248, allocations: 166.4 kB / 0.6862 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.2482, allocations: 84.81 kB / 0.6863 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002907/0.2485, allocations: 344.5 kB / 0.6866 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.2485, allocations: 34.56 kB / 0.6867 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.2485, allocations: 4 kB / 0.6867 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=19): time 0.0007463/0.2493, allocations: 310.6 kB / 0.687 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.2493, allocations: 55.41 kB / 0.687 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000801/0.2501, allocations: 0.6843 MB / 0.6877 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.2502, allocations: 33.7 kB / 0.6877 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.2504, allocations: 356.7 kB / 0.6881 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.172e-05/0.2505, allocations: 79.02 kB / 0.6881 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.2507, allocations: 89.95 kB / 0.6882 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.2508, allocations: 382.7 kB / 0.6886 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.2511, allocations: 110.3 kB / 0.6887 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003297/0.2514, allocations: 187.5 kB / 0.6889 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/0.2519, allocations: 232.9 kB / 0.6891 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2519, allocations: 0 / 0.6891 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007106/0.2526, allocations: 394.2 kB / 0.6895 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.2527, allocations: 9.672 kB / 0.6895 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2527, allocations: 7.938 kB / 0.6895 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.2527, allocations: 4 kB / 0.6895 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.2537, allocations: 151.9 kB / 0.6896 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/0.255, allocations: 2.364 MB / 0.692 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000453/0.2555, allocations: 59.69 kB / 0.692 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.2555, allocations: 15.98 kB / 0.692 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004104/0.2559, allocations: 252.5 kB / 0.6923 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002894/0.2562, allocations: 179.3 kB / 0.6924 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004236/0.2567, allocations: 227.7 kB / 0.6927 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.442e-06/0.2567, allocations: 0 / 0.6927 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006744/0.2574, allocations: 384.1 kB / 0.693 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.2574, allocations: 8.031 kB / 0.693 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.2574, allocations: 0 / 0.693 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.959e-06/0.2574, allocations: 4 kB / 0.693 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/0.2578, allocations: 99.81 kB / 0.6931 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.656e-06/0.2578, allocations: 0 / 0.6931 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004159/0.2583, allocations: 47.8 kB / 0.6932 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.2583, allocations: 16 kB / 0.6932 GB, free: 5.059 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.0001329/0.2584, allocations: 200.1 kB / 0.6934 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.2585, allocations: 75 kB / 0.6935 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006431/0.2592, allocations: 304.7 kB / 0.6937 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.2592, allocations: 4 kB / 0.6937 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.2592, allocations: 4 kB / 0.6937 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2592, allocations: 3.984 kB / 0.6938 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.2605, allocations: 0.8916 MB / 0.6946 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.2605, allocations: 0 / 0.6946 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/0.2609, allocations: 79.98 kB / 0.6947 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.2609, allocations: 4 kB / 0.6947 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.2609, allocations: 4 kB / 0.6947 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.262, allocations: 2.352 MB / 0.697 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.262, allocations: 0 / 0.697 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005484/0.2626, allocations: 409.6 kB / 0.6974 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.2628, allocations: 168.1 kB / 0.6976 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.997e-05/0.2629, allocations: 8 kB / 0.6976 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/0.2632, allocations: 23.97 kB / 0.6976 GB, free: 332 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.2633, allocations: 11.98 kB / 0.6976 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.2633, allocations: 16 kB / 0.6976 GB, free: 304 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005542/0.2639, allocations: 478.9 kB / 0.6981 GB, free: 15.83 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2639, allocations: 4 kB / 0.6981 GB, free: 15.83 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000844/0.2647, allocations: 343.2 kB / 0.6984 GB, free: 15.49 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.0004774/0.2652, allocations: 245 kB / 0.6986 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.2668, allocations: 488.1 kB / 0.6991 GB, free: 14.78 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.2668, allocations: 8 kB / 0.6991 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003853/0.2672, allocations: 135.8 kB / 0.6992 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.2686, allocations: 329.2 kB / 0.6996 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.2703, allocations: 1.116 MB / 0.7006 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.2707, allocations: 0.9218 MB / 0.7015 GB, free: 12.22 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003524/0.2711, allocations: 117.2 kB / 0.7017 GB, free: 12.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.927e-05/0.2712, allocations: 51.42 kB / 0.7017 GB, free: 12.05 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.2712, allocations: 0 / 0.7017 GB, free: 12.05 MB / 0.545 GB Notification: Performance of Templates: time 0.02536/0.2966, allocations: 12.66 MB / 0.7141 GB, free: 15.61 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)