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.001219/0.001219, allocations: 87.61 kB / 16.66 MB, free: 5.742 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.001447/0.001447, allocations: 183 kB / 17.58 MB, free: 5.477 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.323/1.323, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7403/0.7403, allocations: 115.5 MB / 408.2 MB, free: 7.07 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003678, allocations: 15.98 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3704, allocations: 77.52 MB / 0.5606 GB, free: 36.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1493/0.5197, allocations: 151 MB / 0.7081 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04597/0.5657, allocations: 30.16 MB / 0.7375 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006743/0.5725, allocations: 123.1 kB / 0.7376 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003568/0.5761, allocations: 0.8233 MB / 0.7384 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009908/0.5861, allocations: 2.891 MB / 0.7413 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006495/0.5926, allocations: 2.292 MB / 0.7435 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009592/0.6022, allocations: 7.393 MB / 0.7507 GB, free: 388 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3373/0.9396, allocations: 1.844 MB / 0.7525 GB, free: 39.05 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007299/0.9469, allocations: 2.37 MB / 0.7548 GB, free: 39.05 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005597/0.9526, allocations: 1.903 MB / 0.7567 GB, free: 39.05 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009868/0.9536, allocations: 96.16 kB / 0.7568 GB, free: 39.05 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003889/0.9575, allocations: 0.9396 MB / 0.7577 GB, free: 39.05 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007804/0.9583, allocations: 439.7 kB / 0.7581 GB, free: 39.05 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002621/0.9609, allocations: 1.148 MB / 0.7592 GB, free: 39.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004397/0.9653, allocations: 2.433 MB / 0.7616 GB, free: 38.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.9654, allocations: 2.734 kB / 0.7616 GB, free: 38.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.765e-06/0.9654, allocations: 0.625 kB / 0.7616 GB, free: 38.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001198/0.9655, allocations: 0 / 0.7616 GB, free: 38.93 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.006282/0.9718, allocations: 2.349 MB / 0.7639 GB, free: 37.85 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.9718, allocations: 8.875 kB / 0.7639 GB, free: 37.85 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008217/0.9727, allocations: 264 kB / 0.7642 GB, free: 37.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0027/0.9754, allocations: 1.451 MB / 0.7656 GB, free: 37.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.245e-05/0.9755, allocations: 104.6 kB / 0.7657 GB, free: 37.19 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002527/0.9757, allocations: 138.6 kB / 0.7658 GB, free: 37.19 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/0.9783, allocations: 1.165 MB / 0.767 GB, free: 37.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.9783, allocations: 5.281 kB / 0.767 GB, free: 37.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.9785, allocations: 46.41 kB / 0.767 GB, free: 37.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.07e-05/0.9785, allocations: 27.81 kB / 0.767 GB, free: 37.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/0.9806, allocations: 1.024 MB / 0.768 GB, free: 37.09 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.01158/0.9922, allocations: 6.35 MB / 0.7742 GB, free: 34.42 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.9933, allocations: 0.5824 MB / 0.7748 GB, free: 34.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000643/0.994, allocations: 396.9 kB / 0.7752 GB, free: 34.37 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003486/0.9944, allocations: 0.5058 MB / 0.7757 GB, free: 33.81 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.9944, allocations: 38.75 kB / 0.7757 GB, free: 33.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002067/0.9965, allocations: 331.7 kB / 0.776 GB, free: 33.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=58): time 4.549e-06/0.9965, allocations: 0 / 0.776 GB, free: 33.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58): time 0.002374/0.9989, allocations: 1.138 MB / 0.7771 GB, free: 33.55 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.9989, allocations: 58.03 kB / 0.7772 GB, free: 33.49 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002998/1.002, allocations: 1.904 MB / 0.7791 GB, free: 33.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001261/1.002, allocations: 45.45 kB / 0.7791 GB, free: 33.22 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007461/1.003, allocations: 0.9167 MB / 0.78 GB, free: 32.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/1.003, allocations: 202.5 kB / 0.7802 GB, free: 32.83 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/1.003, allocations: 121.8 kB / 0.7803 GB, free: 32.81 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.508e-05/1.003, allocations: 348.7 kB / 0.7806 GB, free: 32.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008678/1.004, allocations: 434.1 kB / 0.7811 GB, free: 32.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009555/1.005, allocations: 0.6779 MB / 0.7817 GB, free: 32.29 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/1.007, allocations: 0.9543 MB / 0.7826 GB, free: 32.15 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/1.007, allocations: 2.75 kB / 0.7826 GB, free: 32.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003113/1.01, allocations: 1.399 MB / 0.784 GB, free: 32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001219/1.01, allocations: 185.8 kB / 0.7842 GB, free: 31.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/1.01, allocations: 3.469 kB / 0.7842 GB, free: 31.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.999e-05/1.01, allocations: 11.06 kB / 0.7842 GB, free: 31.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/1.011, allocations: 281.5 kB / 0.7845 GB, free: 31.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/1.012, allocations: 9.219 kB / 0.7845 GB, free: 31.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/1.014, allocations: 150.1 kB / 0.7846 GB, free: 31.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/1.014, allocations: 58.98 kB / 0.7847 GB, free: 31.76 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/1.014, allocations: 2.688 kB / 0.7847 GB, free: 31.76 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001762/1.016, allocations: 1.131 MB / 0.7858 GB, free: 31.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/1.016, allocations: 2.438 kB / 0.7858 GB, free: 31.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/1.016, allocations: 9.656 kB / 0.7858 GB, free: 31.72 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/1.017, allocations: 271.8 kB / 0.7861 GB, free: 31.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/1.017, allocations: 10.3 kB / 0.7861 GB, free: 31.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/1.019, allocations: 150 kB / 0.7862 GB, free: 31.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.606e-05/1.019, allocations: 58.56 kB / 0.7863 GB, free: 31.7 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.0009644/1.02, allocations: 449.8 kB / 0.7867 GB, free: 31.51 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003874/1.02, allocations: 204.4 kB / 0.7869 GB, free: 31.39 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/1.023, allocations: 1.074 MB / 0.7879 GB, free: 31.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-05/1.023, allocations: 5.75 kB / 0.7879 GB, free: 31.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/1.023, allocations: 0 / 0.7879 GB, free: 31.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/1.023, allocations: 9.359 kB / 0.788 GB, free: 31.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005779/1.028, allocations: 2.414 MB / 0.7903 GB, free: 30.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/1.029, allocations: 1.594 kB / 0.7903 GB, free: 30.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008245/1.029, allocations: 137.3 kB / 0.7904 GB, free: 30.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.08e-05/1.029, allocations: 6.719 kB / 0.7905 GB, free: 30.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.776e-05/1.029, allocations: 15.31 kB / 0.7905 GB, free: 30.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.167e-05/1.029, allocations: 5.438 kB / 0.7905 GB, free: 30.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.03, allocations: 5.562 kB / 0.7905 GB, free: 30.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/1.032, allocations: 1.074 MB / 0.7915 GB, free: 30.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/1.033, allocations: 377.1 kB / 0.7919 GB, free: 30.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008479/1.034, allocations: 16.53 kB / 0.7919 GB, free: 30.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002209/1.036, allocations: 99 kB / 0.792 GB, free: 30.37 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/1.037, allocations: 52.22 kB / 0.792 GB, free: 30.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-05/1.037, allocations: 27.47 kB / 0.7921 GB, free: 30.36 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003516/1.04, allocations: 1.252 MB / 0.7933 GB, free: 30.22 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.31e-07/1.04, allocations: 0 / 0.7933 GB, free: 30.22 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005485/1.046, allocations: 0.8977 MB / 0.7942 GB, free: 30.1 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.001182/1.047, allocations: 339.3 kB / 0.7945 GB, free: 29.97 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004781/1.052, allocations: 1.589 MB / 0.796 GB, free: 29.95 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.052, allocations: 3.375 kB / 0.7961 GB, free: 29.95 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009799/1.053, allocations: 400.4 kB / 0.7964 GB, free: 29.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01003/1.063, allocations: 1.128 MB / 0.7975 GB, free: 29.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009217/1.072, allocations: 3.782 MB / 0.8012 GB, free: 27.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/1.073, allocations: 1.404 MB / 0.8026 GB, free: 27.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009397/1.074, allocations: 162.9 kB / 0.8028 GB, free: 27.09 MB / 0.5762 GB Notification: Performance of SimCode: time 1.403e-06/1.074, allocations: 0 / 0.8028 GB, free: 27.09 MB / 0.5762 GB Notification: Performance of Templates: time 0.04937/1.124, allocations: 30.73 MB / 0.8328 GB, free: 5.402 MB / 0.5762 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)