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.001065/0.001065, allocations: 109.9 kB / 17.09 MB, free: 5.973 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.001029/0.001029, allocations: 194.7 kB / 18.02 MB, free: 5.059 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.345/1.345, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7665/0.7665, allocations: 115.3 MB / 407.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 70.97 kB / 0.5584 GB, free: 32.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1713, allocations: 76.18 MB / 0.6327 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03256/0.2039, allocations: 30.73 MB / 0.6628 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01358/0.2175, allocations: 10.84 MB / 0.6733 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.2189, allocations: 27.81 kB / 0.6734 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.2202, allocations: 393.2 kB / 0.6737 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003215/0.2234, allocations: 1.156 MB / 0.6749 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002258/0.2257, allocations: 0.8446 MB / 0.6757 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002821/0.2285, allocations: 2.069 MB / 0.6777 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.2297, allocations: 0.6816 MB / 0.6784 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002206/0.2319, allocations: 0.9999 MB / 0.6794 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009263/0.2329, allocations: 0.6651 MB / 0.68 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.233, allocations: 56 kB / 0.6801 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.2345, allocations: 0.6161 MB / 0.6807 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002019/0.2347, allocations: 167.3 kB / 0.6808 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004886/0.2352, allocations: 433.6 kB / 0.6812 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001506/0.2368, allocations: 1.09 MB / 0.6823 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2368, allocations: 0 / 0.6823 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2368, allocations: 0 / 0.6823 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.2368, allocations: 0 / 0.6823 GB, free: 1.461 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.001874/0.2387, allocations: 1.167 MB / 0.6834 GB, free: 248 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.2387, allocations: 8.031 kB / 0.6835 GB, free: 240 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.2389, allocations: 99.75 kB / 0.6835 GB, free: 140 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008774/0.2398, allocations: 0.589 MB / 0.6841 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.603e-05/0.2398, allocations: 45 kB / 0.6842 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.042e-05/0.2399, allocations: 52 kB / 0.6842 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000731/0.2407, allocations: 410.4 kB / 0.6846 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.2407, allocations: 3.984 kB / 0.6846 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.251e-05/0.2407, allocations: 20 kB / 0.6846 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.2408, allocations: 15.94 kB / 0.6846 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006132/0.2414, allocations: 307.8 kB / 0.6849 GB, free: 14.66 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.002845/0.2442, allocations: 1.85 MB / 0.6867 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.2446, allocations: 162.5 kB / 0.6869 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.2448, allocations: 88.73 kB / 0.687 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003164/0.2451, allocations: 344.5 kB / 0.6873 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.2451, allocations: 38.56 kB / 0.6873 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 2.224e-06/0.2451, allocations: 0 / 0.6873 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=19): time 0.0007186/0.2459, allocations: 306.7 kB / 0.6876 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.2459, allocations: 55.41 kB / 0.6877 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007793/0.2467, allocations: 0.6843 MB / 0.6884 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.2467, allocations: 29.7 kB / 0.6884 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.247, allocations: 364.7 kB / 0.6887 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.945e-05/0.2471, allocations: 67.03 kB / 0.6888 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.2472, allocations: 93.95 kB / 0.6889 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.2474, allocations: 378.8 kB / 0.6893 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/0.2477, allocations: 114.3 kB / 0.6894 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/0.248, allocations: 191.4 kB / 0.6895 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004584/0.2485, allocations: 232.9 kB / 0.6898 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2485, allocations: 0 / 0.6898 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007228/0.2492, allocations: 394.2 kB / 0.6901 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2492, allocations: 11.94 kB / 0.6902 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.2492, allocations: 7.984 kB / 0.6902 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.2493, allocations: 0 / 0.6902 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.2503, allocations: 159.9 kB / 0.6903 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.2517, allocations: 2.364 MB / 0.6926 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/0.2522, allocations: 51.59 kB / 0.6927 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.2522, allocations: 12 kB / 0.6927 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003999/0.2526, allocations: 259.7 kB / 0.6929 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002831/0.2529, allocations: 179.4 kB / 0.6931 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004089/0.2533, allocations: 223.6 kB / 0.6933 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.2533, allocations: 0 / 0.6933 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006457/0.254, allocations: 380.4 kB / 0.6937 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.254, allocations: 8 kB / 0.6937 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.254, allocations: 3.984 kB / 0.6937 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-06/0.254, allocations: 4 kB / 0.6937 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/0.2545, allocations: 95.88 kB / 0.6938 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2545, allocations: 7.938 kB / 0.6938 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.2549, allocations: 43.75 kB / 0.6938 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.2549, allocations: 27.92 kB / 0.6939 GB, free: 5.043 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.0001493/0.2551, allocations: 197.8 kB / 0.694 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.734e-05/0.2552, allocations: 71.06 kB / 0.6941 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006509/0.2558, allocations: 308.1 kB / 0.6944 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.2559, allocations: 0 / 0.6944 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2559, allocations: 0 / 0.6944 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/0.2561, allocations: 164.1 kB / 0.6946 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.848e-05/0.2561, allocations: 8 kB / 0.6946 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003055/0.2565, allocations: 19.97 kB / 0.6946 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/0.2565, allocations: 11.92 kB / 0.6946 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007744/0.2573, allocations: 386.3 kB / 0.695 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007633/0.2581, allocations: 0.5528 MB / 0.6955 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001905/0.2583, allocations: 91.94 kB / 0.6956 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005352/0.2588, allocations: 479 kB / 0.6961 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of Backend: time 2.1e-07/0.2588, allocations: 0 / 0.6961 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002313/0.2611, allocations: 0.6674 MB / 0.6967 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002758/0.2639, allocations: 1.782 MB / 0.6984 GB, free: 240 kB / 0.5294 GB Notification: Performance of Templates: time 0.02346/0.2874, allocations: 13.78 MB / 0.7119 GB, free: 2.648 MB / 0.545 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)