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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 112.6 kB / 17.33 MB, free: 5.027 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.001213/0.001213, allocations: 201.8 kB / 18.33 MB, free: 4.035 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.482/1.482, allocations: 225.6 MB / 244.8 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8657/0.8657, allocations: 128.4 MB / 426.1 MB, free: 7.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002796/0.002796, allocations: 63.52 kB / 0.5912 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1767, allocations: 83.26 MB / 0.6725 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.5337/0.7103, allocations: 155.4 MB / 0.8242 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0449/0.7552, allocations: 30.24 MB / 0.8537 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005419/0.7607, allocations: 145.7 kB / 0.8539 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00387/0.7645, allocations: 1.048 MB / 0.8549 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01075/0.7753, allocations: 3.271 MB / 0.8581 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007496/0.7828, allocations: 2.538 MB / 0.8606 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008834/0.7916, allocations: 5.28 MB / 0.8657 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003771/0.7954, allocations: 1.887 MB / 0.8676 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007953/0.8033, allocations: 2.805 MB / 0.8703 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004815/0.8081, allocations: 1.984 MB / 0.8722 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001155/0.8093, allocations: 216 kB / 0.8724 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00343/0.8127, allocations: 1.1 MB / 0.8735 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.8138, allocations: 0.5719 MB / 0.8741 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002388/0.8162, allocations: 1.255 MB / 0.8753 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004589/0.8208, allocations: 3.299 MB / 0.8785 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.8208, allocations: 0 / 0.8785 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8208, allocations: 0 / 0.8785 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.765e-05/0.8208, allocations: 3.984 kB / 0.8785 GB, free: 1.234 MB / 0.6231 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.004707/0.8255, allocations: 2.73 MB / 0.8812 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.8256, allocations: 12.03 kB / 0.8812 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004518/0.826, allocations: 270.3 kB / 0.8815 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/0.8284, allocations: 1.509 MB / 0.8829 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.792e-05/0.8285, allocations: 103.2 kB / 0.883 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002295/0.8287, allocations: 140 kB / 0.8832 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/0.8309, allocations: 1.187 MB / 0.8843 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.831, allocations: 8 kB / 0.8843 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.8311, allocations: 44 kB / 0.8844 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.8311, allocations: 31.94 kB / 0.8844 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.833, allocations: 1.052 MB / 0.8854 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00981/0.8428, allocations: 6.309 MB / 0.8916 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.8439, allocations: 0.5512 MB / 0.8921 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006063/0.8445, allocations: 360.4 kB / 0.8925 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004985/0.845, allocations: 0.507 MB / 0.893 GB, free: 1.68 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.807e-05/0.845, allocations: 39.12 kB / 0.893 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001691/0.8467, allocations: 315.3 kB / 0.8933 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=58): time 2.765e-06/0.8467, allocations: 0 / 0.8933 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of matching and sorting (n=58): time 0.002157/0.8489, allocations: 1.169 MB / 0.8944 GB, free: 152 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.8489, allocations: 63.91 kB / 0.8945 GB, free: 72 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002435/0.8514, allocations: 1.834 MB / 0.8963 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.625e-05/0.8514, allocations: 49.7 kB / 0.8963 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008037/0.8523, allocations: 0.9155 MB / 0.8972 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.8524, allocations: 214.2 kB / 0.8974 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004199/0.8529, allocations: 294.7 kB / 0.8977 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.853, allocations: 341.9 kB / 0.8981 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008146/0.8538, allocations: 457.9 kB / 0.8985 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.8549, allocations: 0.684 MB / 0.8992 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.8566, allocations: 0.9696 MB / 0.9001 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.8566, allocations: 4 kB / 0.9001 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002537/0.8591, allocations: 1.417 MB / 0.9015 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.8591, allocations: 4 kB / 0.9015 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.8591, allocations: 4 kB / 0.9015 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.8592, allocations: 8 kB / 0.9015 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.8604, allocations: 287.5 kB / 0.9018 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.8604, allocations: 8 kB / 0.9018 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.8617, allocations: 75.92 kB / 0.9019 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.8619, allocations: 59.94 kB / 0.9019 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001295/0.8632, allocations: 0.7056 MB / 0.9026 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001063/0.8642, allocations: 0.6605 MB / 0.9033 GB, free: 6.848 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001519/0.8657, allocations: 0.9188 MB / 0.9041 GB, free: 5.887 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.765e-06/0.8657, allocations: 0 / 0.9041 GB, free: 5.887 MB / 0.6544 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002393/0.8681, allocations: 1.355 MB / 0.9055 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.8681, allocations: 8 kB / 0.9055 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.8682, allocations: 0 / 0.9055 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.8682, allocations: 15.94 kB / 0.9055 GB, free: 4.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.8693, allocations: 279.9 kB / 0.9058 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.8694, allocations: 15.88 kB / 0.9058 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.8709, allocations: 87.91 kB / 0.9059 GB, free: 4.125 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.871, allocations: 59.95 kB / 0.9059 GB, free: 4.066 MB / 0.6544 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.0004145/0.8714, allocations: 228.1 kB / 0.9061 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004004/0.8718, allocations: 210.6 kB / 0.9063 GB, free: 3.629 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/0.8742, allocations: 1.094 MB / 0.9074 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/0.8742, allocations: 11.94 kB / 0.9074 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.8742, allocations: 0 / 0.9074 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.8742, allocations: 3.984 kB / 0.9074 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003941/0.8781, allocations: 2.412 MB / 0.9098 GB, free: 12 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.8781, allocations: 4 kB / 0.9098 GB, free: 8 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000621/0.8788, allocations: 135.8 kB / 0.9099 GB, free: 15.88 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.8788, allocations: 4 kB / 0.9099 GB, free: 15.87 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-05/0.8788, allocations: 20.09 kB / 0.9099 GB, free: 15.85 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/0.8788, allocations: 11.98 kB / 0.9099 GB, free: 15.84 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.8788, allocations: 8.172 kB / 0.91 GB, free: 15.83 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.8804, allocations: 1.075 MB / 0.911 GB, free: 14.72 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000601/0.881, allocations: 355.6 kB / 0.9113 GB, free: 14.35 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.8812, allocations: 15.94 kB / 0.9114 GB, free: 14.34 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007165/0.882, allocations: 39.95 kB / 0.9114 GB, free: 14.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.8821, allocations: 52.53 kB / 0.9114 GB, free: 14.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.085e-05/0.8821, allocations: 35.92 kB / 0.9115 GB, free: 14.21 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001732/0.8839, allocations: 1.207 MB / 0.9127 GB, free: 12.99 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.8839, allocations: 0 / 0.9127 GB, free: 12.99 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001978/0.8859, allocations: 0.8851 MB / 0.9135 GB, free: 12.1 MB / 0.67 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.0006714/0.8865, allocations: 343.3 kB / 0.9138 GB, free: 11.77 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002741/0.8893, allocations: 1.509 MB / 0.9153 GB, free: 10.26 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8893, allocations: 0 / 0.9153 GB, free: 10.26 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006128/0.8899, allocations: 363.5 kB / 0.9157 GB, free: 9.902 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003903/0.8938, allocations: 1.085 MB / 0.9167 GB, free: 8.852 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004601/0.8984, allocations: 3.001 MB / 0.9197 GB, free: 5.793 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.8994, allocations: 1.389 MB / 0.921 GB, free: 4.371 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001673/0.9011, allocations: 388.2 kB / 0.9214 GB, free: 3.992 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005154/0.9016, allocations: 163.4 kB / 0.9215 GB, free: 3.832 MB / 0.67 GB Notification: Performance of SimCode: time 7.82e-07/0.9016, allocations: 4 kB / 0.9215 GB, free: 3.828 MB / 0.67 GB Notification: Performance of Templates: time 0.06931/0.9709, allocations: 38.72 MB / 0.9594 GB, free: 13.55 MB / 0.7169 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile [Timeout 660] (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) [Timeout 480]