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.001689/0.001689, allocations: 115.5 kB / 17.08 MB, free: 5.957 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.002029/0.002029, allocations: 192.2 kB / 18.02 MB, free: 5.039 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.507/1.507, allocations: 222.9 MB / 241.7 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.8433/0.8433, allocations: 126.4 MB / 418.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002651/0.002652, allocations: 67.94 kB / 0.5742 GB, free: 27.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1642, allocations: 78.78 MB / 0.6511 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03681/0.2011, allocations: 30.78 MB / 0.6812 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01706/0.2182, allocations: 10.83 MB / 0.6918 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.2196, allocations: 23.81 kB / 0.6918 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.2211, allocations: 417.2 kB / 0.6922 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004059/0.2251, allocations: 1.191 MB / 0.6933 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.2279, allocations: 0.8435 MB / 0.6942 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003423/0.2313, allocations: 2.046 MB / 0.6962 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.2326, allocations: 0.6817 MB / 0.6968 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00259/0.2352, allocations: 1.054 MB / 0.6979 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001474/0.2367, allocations: 0.6573 MB / 0.6985 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.2369, allocations: 52 kB / 0.6986 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001828/0.2387, allocations: 0.6083 MB / 0.6991 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002398/0.239, allocations: 167.3 kB / 0.6993 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007216/0.2397, allocations: 437.6 kB / 0.6997 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001934/0.2417, allocations: 1.101 MB / 0.7008 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.112e-05/0.2417, allocations: 0 / 0.7008 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2417, allocations: 4 kB / 0.7008 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.2417, allocations: 0 / 0.7008 GB, free: 0.5234 MB / 0.5294 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.002038/0.2438, allocations: 1.182 MB / 0.702 GB, free: 15.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.2438, allocations: 12.03 kB / 0.702 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/0.244, allocations: 108.3 kB / 0.7021 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.2451, allocations: 0.5929 MB / 0.7027 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.048e-05/0.2451, allocations: 37 kB / 0.7027 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.133e-05/0.2452, allocations: 52 kB / 0.7027 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008208/0.246, allocations: 410.4 kB / 0.7031 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.2461, allocations: 0 / 0.7031 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.169e-05/0.2461, allocations: 24 kB / 0.7031 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.2462, allocations: 12 kB / 0.7032 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006374/0.2468, allocations: 295.8 kB / 0.7034 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003054/0.2499, allocations: 1.862 MB / 0.7053 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/0.2503, allocations: 174.4 kB / 0.7054 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.2505, allocations: 86.66 kB / 0.7055 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003458/0.2508, allocations: 344.5 kB / 0.7058 GB, free: 11.03 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.2509, allocations: 34.5 kB / 0.7059 GB, free: 10.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 2.023e-06/0.2509, allocations: 0 / 0.7059 GB, free: 10.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.0008517/0.2517, allocations: 309.1 kB / 0.7062 GB, free: 10.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.2518, allocations: 55.41 kB / 0.7062 GB, free: 10.61 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009374/0.2528, allocations: 0.6843 MB / 0.7069 GB, free: 9.918 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.2528, allocations: 29.7 kB / 0.7069 GB, free: 9.883 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003631/0.2532, allocations: 369.2 kB / 0.7073 GB, free: 9.516 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.367e-05/0.2532, allocations: 71.36 kB / 0.7073 GB, free: 9.445 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.2534, allocations: 98 kB / 0.7074 GB, free: 9.344 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002214/0.2536, allocations: 382.7 kB / 0.7078 GB, free: 8.961 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/0.254, allocations: 114.3 kB / 0.7079 GB, free: 8.848 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/0.2543, allocations: 179.7 kB / 0.7081 GB, free: 8.648 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/0.2548, allocations: 241 kB / 0.7083 GB, free: 8.406 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.2548, allocations: 0 / 0.7083 GB, free: 8.406 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008043/0.2557, allocations: 394.5 kB / 0.7087 GB, free: 8.016 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.2557, allocations: 4 kB / 0.7087 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2557, allocations: 7.938 kB / 0.7087 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.2557, allocations: 4 kB / 0.7087 GB, free: 8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.2568, allocations: 163.8 kB / 0.7089 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.2584, allocations: 2.364 MB / 0.7112 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004848/0.2589, allocations: 56.02 kB / 0.7112 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.2589, allocations: 16 kB / 0.7112 GB, free: 5.312 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004654/0.2594, allocations: 251.8 kB / 0.7115 GB, free: 5.062 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00033/0.2598, allocations: 183 kB / 0.7116 GB, free: 4.859 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000456/0.2602, allocations: 232.3 kB / 0.7119 GB, free: 4.621 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.452e-06/0.2602, allocations: 0 / 0.7119 GB, free: 4.621 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0007395/0.261, allocations: 384.5 kB / 0.7122 GB, free: 4.238 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.261, allocations: 11.94 kB / 0.7122 GB, free: 4.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.261, allocations: 4.031 kB / 0.7122 GB, free: 4.223 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.968e-06/0.261, allocations: 0 / 0.7122 GB, free: 4.223 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.2615, allocations: 95.88 kB / 0.7123 GB, free: 4.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2615, allocations: 8.062 kB / 0.7123 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004523/0.2619, allocations: 43.8 kB / 0.7124 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.262, allocations: 15.98 kB / 0.7124 GB, free: 4.062 MB / 0.545 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.0001684/0.2621, allocations: 207.4 kB / 0.7126 GB, free: 3.855 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.2623, allocations: 75.47 kB / 0.7127 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007252/0.263, allocations: 298.8 kB / 0.713 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.263, allocations: 8 kB / 0.713 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.263, allocations: 3.938 kB / 0.713 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.263, allocations: 4 kB / 0.713 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.2645, allocations: 0.9002 MB / 0.7139 GB, free: 2.496 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2645, allocations: 0 / 0.7139 GB, free: 2.496 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003332/0.2648, allocations: 71.88 kB / 0.7139 GB, free: 2.426 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2649, allocations: 4.125 kB / 0.7139 GB, free: 2.422 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.2649, allocations: 4 kB / 0.7139 GB, free: 2.418 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/0.2664, allocations: 2.356 MB / 0.7162 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.2664, allocations: 3.984 kB / 0.7162 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006181/0.267, allocations: 396.6 kB / 0.7166 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/0.2673, allocations: 172.5 kB / 0.7168 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.782e-05/0.2673, allocations: 4 kB / 0.7168 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003243/0.2677, allocations: 27.91 kB / 0.7168 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.2678, allocations: 19.92 kB / 0.7168 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/0.2678, allocations: 11.98 kB / 0.7168 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006233/0.2684, allocations: 475 kB / 0.7173 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2684, allocations: 0 / 0.7173 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009454/0.2694, allocations: 355.2 kB / 0.7176 GB, free: 14.5 MB / 0.5606 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.0005889/0.27, allocations: 250.9 kB / 0.7179 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001697/0.2717, allocations: 495.5 kB / 0.7183 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2717, allocations: 3.938 kB / 0.7183 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004187/0.2721, allocations: 141.9 kB / 0.7185 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.2736, allocations: 324.7 kB / 0.7188 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.2757, allocations: 1.13 MB / 0.7199 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/0.2763, allocations: 0.9256 MB / 0.7208 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004417/0.2767, allocations: 121.2 kB / 0.7209 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.2769, allocations: 47.44 kB / 0.721 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of SimCode: time 8.72e-07/0.2769, allocations: 3.938 kB / 0.721 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.02421/0.3011, allocations: 12.71 MB / 0.7334 GB, free: 14.52 MB / 0.5762 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)