Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 106.6 kB / 16.64 MB, free: 6.371 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.00124/0.00124, allocations: 193.5 kB / 17.56 MB, free: 5.797 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.359/1.359, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7568/0.7568, allocations: 122.9 MB / 414.2 MB, free: 80 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 67.91 kB / 0.4912 GB, free: 7.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3856, allocations: 77.92 MB / 0.5673 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1438/0.5294, allocations: 153 MB / 0.7167 GB, free: 1.664 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04521/0.5747, allocations: 30.19 MB / 0.7462 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007151/0.5819, allocations: 135.1 kB / 0.7463 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004083/0.5861, allocations: 0.8701 MB / 0.7472 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3654/0.9515, allocations: 2.933 MB / 0.75 GB, free: 38.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006753/0.9583, allocations: 2.288 MB / 0.7523 GB, free: 38.7 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01013/0.9684, allocations: 5.402 MB / 0.7575 GB, free: 38.7 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005373/0.9738, allocations: 2.2 MB / 0.7597 GB, free: 38.49 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0075/0.9814, allocations: 2.698 MB / 0.7623 GB, free: 38.49 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004791/0.9862, allocations: 2.028 MB / 0.7643 GB, free: 38.39 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001126/0.9873, allocations: 213.9 kB / 0.7645 GB, free: 38.39 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004151/0.9915, allocations: 1.099 MB / 0.7656 GB, free: 38.39 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001111/0.9926, allocations: 0.5593 MB / 0.7661 GB, free: 38.3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002746/0.9954, allocations: 1.267 MB / 0.7674 GB, free: 37.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00355/0.999, allocations: 2.522 MB / 0.7698 GB, free: 37.83 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.999, allocations: 0 / 0.7698 GB, free: 37.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.795e-06/0.999, allocations: 5.5 kB / 0.7698 GB, free: 37.83 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.04e-05/0.9991, allocations: 4 kB / 0.7698 GB, free: 37.82 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.007241/1.006, allocations: 2.774 MB / 0.7725 GB, free: 36.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/1.006, allocations: 16.53 kB / 0.7726 GB, free: 36.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000726/1.007, allocations: 263.9 kB / 0.7728 GB, free: 36.37 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/1.01, allocations: 1.449 MB / 0.7742 GB, free: 35.85 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-05/1.01, allocations: 108.8 kB / 0.7743 GB, free: 35.84 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/1.01, allocations: 139.9 kB / 0.7745 GB, free: 35.84 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/1.012, allocations: 1.156 MB / 0.7756 GB, free: 35.76 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/1.012, allocations: 1.875 kB / 0.7756 GB, free: 35.76 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/1.012, allocations: 46.81 kB / 0.7756 GB, free: 35.76 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/1.012, allocations: 28.47 kB / 0.7757 GB, free: 35.76 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/1.014, allocations: 1.013 MB / 0.7766 GB, free: 35.74 MB / 0.5762 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.009876/1.024, allocations: 6.322 MB / 0.7828 GB, free: 33.06 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009229/1.025, allocations: 0.5635 MB / 0.7834 GB, free: 33.04 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005303/1.025, allocations: 385.6 kB / 0.7837 GB, free: 33.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003236/1.025, allocations: 0.5081 MB / 0.7842 GB, free: 32.46 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/1.025, allocations: 39.78 kB / 0.7843 GB, free: 32.42 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002084/1.028, allocations: 305.6 kB / 0.7846 GB, free: 32.35 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=58): time 3.626e-06/1.028, allocations: 0 / 0.7846 GB, free: 32.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58): time 0.002169/1.03, allocations: 1.158 MB / 0.7857 GB, free: 32.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/1.03, allocations: 63.72 kB / 0.7858 GB, free: 32.13 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002343/1.032, allocations: 1.901 MB / 0.7876 GB, free: 31.89 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001543/1.032, allocations: 45.61 kB / 0.7877 GB, free: 31.86 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006474/1.033, allocations: 0.9154 MB / 0.7886 GB, free: 31.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/1.033, allocations: 208.6 kB / 0.7887 GB, free: 31.47 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000449/1.034, allocations: 292.6 kB / 0.789 GB, free: 31.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.287e-05/1.034, allocations: 349.8 kB / 0.7894 GB, free: 31.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007657/1.034, allocations: 462.2 kB / 0.7898 GB, free: 31.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009026/1.035, allocations: 0.6813 MB / 0.7905 GB, free: 30.91 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/1.037, allocations: 0.9738 MB / 0.7914 GB, free: 30.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/1.037, allocations: 0 / 0.7914 GB, free: 30.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002506/1.039, allocations: 1.408 MB / 0.7928 GB, free: 30.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/1.039, allocations: 7.172 kB / 0.7928 GB, free: 30.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/1.039, allocations: 5.188 kB / 0.7928 GB, free: 30.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/1.039, allocations: 7.25 kB / 0.7928 GB, free: 30.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/1.041, allocations: 280.5 kB / 0.7931 GB, free: 30.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.173e-05/1.041, allocations: 12.47 kB / 0.7931 GB, free: 30.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002149/1.043, allocations: 144.5 kB / 0.7932 GB, free: 30.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/1.043, allocations: 65.84 kB / 0.7933 GB, free: 30.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001327/1.044, allocations: 0.7115 MB / 0.794 GB, free: 30.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008678/1.045, allocations: 0.6534 MB / 0.7946 GB, free: 30.28 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001328/1.047, allocations: 0.9211 MB / 0.7955 GB, free: 30.15 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.947e-06/1.047, allocations: 3.938 kB / 0.7955 GB, free: 30.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002321/1.049, allocations: 1.355 MB / 0.7969 GB, free: 29.97 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.049, allocations: 7.156 kB / 0.7969 GB, free: 29.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/1.049, allocations: 3.531 kB / 0.7969 GB, free: 29.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/1.049, allocations: 6.719 kB / 0.7969 GB, free: 29.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/1.05, allocations: 270.1 kB / 0.7971 GB, free: 29.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/1.05, allocations: 12.23 kB / 0.7971 GB, free: 29.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/1.052, allocations: 154.9 kB / 0.7973 GB, free: 29.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/1.052, allocations: 59.58 kB / 0.7973 GB, free: 29.95 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (144): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003391/1.053, allocations: 242.5 kB / 0.7976 GB, free: 29.76 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003814/1.053, allocations: 197.7 kB / 0.7978 GB, free: 29.65 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/1.055, allocations: 1.097 MB / 0.7988 GB, free: 29.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/1.055, allocations: 10.06 kB / 0.7988 GB, free: 29.55 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.055, allocations: 2.25 kB / 0.7988 GB, free: 29.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/1.055, allocations: 5.25 kB / 0.7989 GB, free: 29.55 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003935/1.059, allocations: 2.439 MB / 0.8012 GB, free: 29.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/1.059, allocations: 5.688 kB / 0.8012 GB, free: 29.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006135/1.06, allocations: 133.1 kB / 0.8014 GB, free: 29.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/1.06, allocations: 4.812 kB / 0.8014 GB, free: 29.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.044e-05/1.06, allocations: 21.11 kB / 0.8014 GB, free: 29.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-06/1.06, allocations: 11.12 kB / 0.8014 GB, free: 29.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.06, allocations: 4.125 kB / 0.8014 GB, free: 29.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/1.062, allocations: 1.071 MB / 0.8024 GB, free: 28.85 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007735/1.062, allocations: 361 kB / 0.8028 GB, free: 28.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002721/1.063, allocations: 14.2 kB / 0.8028 GB, free: 28.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009678/1.064, allocations: 98.86 kB / 0.8029 GB, free: 28.62 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/1.064, allocations: 55.69 kB / 0.803 GB, free: 28.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/1.064, allocations: 22.88 kB / 0.803 GB, free: 28.62 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00154/1.065, allocations: 1.254 MB / 0.8042 GB, free: 28.36 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.6e-07/1.065, allocations: 0 / 0.8042 GB, free: 28.36 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002462/1.068, allocations: 0.8936 MB / 0.8051 GB, free: 28.24 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007502/1.069, allocations: 348.8 kB / 0.8054 GB, free: 28.08 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00311/1.072, allocations: 1.664 MB / 0.807 GB, free: 27.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.072, allocations: 1.5 kB / 0.807 GB, free: 27.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005843/1.072, allocations: 412.8 kB / 0.8074 GB, free: 27.81 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004952/1.077, allocations: 1.08 MB / 0.8085 GB, free: 27.45 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004918/1.082, allocations: 3.768 MB / 0.8122 GB, free: 24.19 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000622/1.083, allocations: 1.406 MB / 0.8135 GB, free: 22.76 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006579/1.084, allocations: 171.7 kB / 0.8137 GB, free: 22.61 MB / 0.5762 GB Notification: Performance of SimCode: time 9.81e-07/1.084, allocations: 0 / 0.8137 GB, free: 22.61 MB / 0.5762 GB Notification: Performance of Templates: time 0.03903/1.123, allocations: 30.83 MB / 0.8438 GB, free: 8.586 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)