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.001236/0.001236, allocations: 112.6 kB / 17.04 MB, free: 5.805 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.001333/0.001333, allocations: 195 kB / 17.98 MB, free: 5.031 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.282/1.282, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6902/0.6902, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.91 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3421, allocations: 76.15 MB / 0.5576 GB, free: 36.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1347/0.4768, allocations: 154.4 MB / 0.7083 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04086/0.5177, allocations: 30.4 MB / 0.738 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005273/0.523, allocations: 143.1 kB / 0.7381 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003002/0.5261, allocations: 1.036 MB / 0.7391 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009114/0.5352, allocations: 3.159 MB / 0.7422 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006801/0.5421, allocations: 2.513 MB / 0.7447 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3522/0.8942, allocations: 5.392 MB / 0.7499 GB, free: 37.87 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004348/0.8986, allocations: 2.238 MB / 0.7521 GB, free: 37.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007342/0.906, allocations: 2.692 MB / 0.7548 GB, free: 37.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005242/0.9113, allocations: 1.966 MB / 0.7567 GB, free: 37.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009005/0.9122, allocations: 213.5 kB / 0.7569 GB, free: 37.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004015/0.9162, allocations: 1.094 MB / 0.758 GB, free: 37.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007788/0.917, allocations: 0.556 MB / 0.7585 GB, free: 37.61 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002452/0.9195, allocations: 1.271 MB / 0.7597 GB, free: 37.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006437/0.9259, allocations: 3.331 MB / 0.763 GB, free: 36.87 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.926, allocations: 1.094 kB / 0.763 GB, free: 36.87 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.908e-06/0.926, allocations: 2.25 kB / 0.763 GB, free: 36.87 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001068/0.9261, allocations: 0 / 0.763 GB, free: 36.87 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.007195/0.9333, allocations: 2.789 MB / 0.7657 GB, free: 35.65 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.9334, allocations: 13.31 kB / 0.7657 GB, free: 35.65 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006488/0.934, allocations: 266.8 kB / 0.766 GB, free: 35.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002839/0.9369, allocations: 1.51 MB / 0.7675 GB, free: 34.99 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.633e-05/0.937, allocations: 103 kB / 0.7676 GB, free: 34.99 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/0.9372, allocations: 143.5 kB / 0.7677 GB, free: 34.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.9394, allocations: 1.16 MB / 0.7688 GB, free: 34.9 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.9394, allocations: 1.875 kB / 0.7688 GB, free: 34.9 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.9395, allocations: 52.03 kB / 0.7689 GB, free: 34.9 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.274e-05/0.9396, allocations: 27.16 kB / 0.7689 GB, free: 34.9 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001829/0.9414, allocations: 1.015 MB / 0.7699 GB, free: 34.88 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.009944/0.9514, allocations: 6.31 MB / 0.7761 GB, free: 32.23 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009009/0.9523, allocations: 0.5661 MB / 0.7766 GB, free: 32.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00052/0.9528, allocations: 390.6 kB / 0.777 GB, free: 32.19 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00029/0.9531, allocations: 0.5068 MB / 0.7775 GB, free: 31.62 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.9531, allocations: 39.67 kB / 0.7775 GB, free: 31.58 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001554/0.9547, allocations: 234.2 kB / 0.7777 GB, free: 31.53 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=58): time 3.196e-06/0.9547, allocations: 0 / 0.7777 GB, free: 31.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58): time 0.002262/0.957, allocations: 1.16 MB / 0.7789 GB, free: 31.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.957, allocations: 58.62 kB / 0.7789 GB, free: 31.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002555/0.9596, allocations: 1.902 MB / 0.7808 GB, free: 31.07 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001696/0.9598, allocations: 48.23 kB / 0.7808 GB, free: 31.04 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006128/0.9604, allocations: 0.9175 MB / 0.7817 GB, free: 30.78 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.9605, allocations: 199.6 kB / 0.7819 GB, free: 30.65 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003952/0.9609, allocations: 299.2 kB / 0.7822 GB, free: 30.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.356e-05/0.961, allocations: 345.9 kB / 0.7825 GB, free: 30.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006903/0.9617, allocations: 450.3 kB / 0.783 GB, free: 30.31 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000866/0.9626, allocations: 0.6864 MB / 0.7836 GB, free: 30.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.9639, allocations: 0.983 MB / 0.7846 GB, free: 29.96 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.9639, allocations: 0 / 0.7846 GB, free: 29.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002399/0.9663, allocations: 1.408 MB / 0.786 GB, free: 29.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.9664, allocations: 5.438 kB / 0.786 GB, free: 29.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.9664, allocations: 9.781 kB / 0.786 GB, free: 29.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.9664, allocations: 7.969 kB / 0.786 GB, free: 29.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.9676, allocations: 279.7 kB / 0.7863 GB, free: 29.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/0.9676, allocations: 14.69 kB / 0.7863 GB, free: 29.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/0.9694, allocations: 73.83 kB / 0.7863 GB, free: 29.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.9695, allocations: 58.83 kB / 0.7864 GB, free: 29.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001289/0.9708, allocations: 0.711 MB / 0.7871 GB, free: 29.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008511/0.9717, allocations: 0.6571 MB / 0.7877 GB, free: 29.49 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001307/0.973, allocations: 0.9232 MB / 0.7886 GB, free: 29.35 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.717e-06/0.973, allocations: 0 / 0.7886 GB, free: 29.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002467/0.9755, allocations: 1.349 MB / 0.79 GB, free: 29.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.9755, allocations: 8.312 kB / 0.79 GB, free: 29.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.9755, allocations: 3.219 kB / 0.79 GB, free: 29.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.9755, allocations: 9.25 kB / 0.79 GB, free: 29.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.9766, allocations: 279 kB / 0.7902 GB, free: 29.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.9766, allocations: 7.438 kB / 0.7902 GB, free: 29.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/0.9783, allocations: 89.89 kB / 0.7903 GB, free: 29.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.9785, allocations: 61.17 kB / 0.7904 GB, free: 29.17 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.0003453/0.9788, allocations: 245.2 kB / 0.7906 GB, free: 28.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000352/0.9792, allocations: 201 kB / 0.7908 GB, free: 28.87 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/0.9812, allocations: 1.089 MB / 0.7919 GB, free: 28.79 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.832e-05/0.9813, allocations: 11.53 kB / 0.7919 GB, free: 28.79 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.9813, allocations: 0 / 0.7919 GB, free: 28.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.9813, allocations: 3.938 kB / 0.7919 GB, free: 28.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00386/0.9852, allocations: 2.452 MB / 0.7943 GB, free: 28.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.9852, allocations: 5.25 kB / 0.7943 GB, free: 28.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005548/0.9857, allocations: 133.7 kB / 0.7944 GB, free: 28.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.9858, allocations: 2.562 kB / 0.7944 GB, free: 28.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.387e-05/0.9858, allocations: 22.75 kB / 0.7944 GB, free: 28.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.906e-06/0.9858, allocations: 3.094 kB / 0.7944 GB, free: 28.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.9858, allocations: 6.938 kB / 0.7945 GB, free: 28.38 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.9873, allocations: 1.065 MB / 0.7955 GB, free: 28.08 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007315/0.9881, allocations: 366.1 kB / 0.7958 GB, free: 27.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002183/0.9883, allocations: 15.38 kB / 0.7959 GB, free: 27.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007494/0.989, allocations: 34.94 kB / 0.7959 GB, free: 27.87 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.9892, allocations: 56.53 kB / 0.7959 GB, free: 27.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.824e-05/0.9892, allocations: 30.27 kB / 0.796 GB, free: 27.87 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001606/0.9908, allocations: 1.251 MB / 0.7972 GB, free: 27.72 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9908, allocations: 0 / 0.7972 GB, free: 27.72 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002484/0.9933, allocations: 0.8867 MB / 0.7981 GB, free: 27.61 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.0007559/0.9941, allocations: 349.4 kB / 0.7984 GB, free: 27.46 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002742/0.9968, allocations: 1.621 MB / 0.8 GB, free: 27.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.9969, allocations: 4.062 kB / 0.8 GB, free: 27.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000556/0.9974, allocations: 410.9 kB / 0.8004 GB, free: 27.44 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004079/1.002, allocations: 1.085 MB / 0.8014 GB, free: 27.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004463/1.006, allocations: 2.986 MB / 0.8044 GB, free: 26.04 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007199/1.007, allocations: 1.411 MB / 0.8057 GB, free: 25.28 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001731/1.008, allocations: 400.8 kB / 0.8061 GB, free: 25.17 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003964/1.009, allocations: 161.2 kB / 0.8063 GB, free: 25.17 MB / 0.5762 GB Notification: Performance of SimCode: time 7.71e-07/1.009, allocations: 2.719 kB / 0.8063 GB, free: 25.17 MB / 0.5762 GB Notification: Performance of Templates: time 0.05381/1.063, allocations: 38.29 MB / 0.8437 GB, free: 8.609 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)