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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 186.6 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4733/0.4733, allocations: 87.5 MB / 104.9 MB, free: 13.04 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 349.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001187, allocations: 100.9 kB / 420 MB, free: 8.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 55.92 kB / 0.4891 GB, free: 7.703 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3422, allocations: 70.06 MB / 0.5575 GB, free: 44.74 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1267/0.4689, allocations: 153.3 MB / 0.7072 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.3467/0.8156, allocations: 30.43 MB / 0.737 GB, free: 38.77 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007061/0.8228, allocations: 130.5 kB / 0.7371 GB, free: 38.77 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003904/0.8268, allocations: 0.8265 MB / 0.7379 GB, free: 38.76 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.01052/0.8373, allocations: 2.895 MB / 0.7407 GB, free: 38.62 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.005985/0.8433, allocations: 2.288 MB / 0.7429 GB, free: 38.54 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.008527/0.8518, allocations: 7.423 MB / 0.7502 GB, free: 38.52 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003395/0.8553, allocations: 1.893 MB / 0.752 GB, free: 38.25 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007024/0.8623, allocations: 2.447 MB / 0.7544 GB, free: 38.07 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004025/0.8664, allocations: 1.974 MB / 0.7564 GB, free: 37.75 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0005413/0.867, allocations: 121.6 kB / 0.7565 GB, free: 37.75 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00302/0.87, allocations: 0.9669 MB / 0.7574 GB, free: 37.55 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000465/0.8705, allocations: 478.2 kB / 0.7579 GB, free: 37.36 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001549/0.872, allocations: 1.179 MB / 0.759 GB, free: 36.91 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003095/0.8751, allocations: 3.191 MB / 0.7621 GB, free: 35.21 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.8751, allocations: 2.531 kB / 0.7622 GB, free: 35.21 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.22e-07/0.8752, allocations: 0 / 0.7622 GB, free: 35.21 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.647e-05/0.8752, allocations: 0 / 0.7622 GB, free: 35.21 MB / 0.5105 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.004484/0.8797, allocations: 2.791 MB / 0.7649 GB, free: 33.24 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.8797, allocations: 9.469 kB / 0.7649 GB, free: 33.24 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004124/0.8802, allocations: 267.3 kB / 0.7651 GB, free: 33.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002002/0.8822, allocations: 1.436 MB / 0.7665 GB, free: 32.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.083e-05/0.8822, allocations: 106.7 kB / 0.7666 GB, free: 32 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.8824, allocations: 137 kB / 0.7668 GB, free: 31.96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.8842, allocations: 1.157 MB / 0.7679 GB, free: 31.26 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.8842, allocations: 10.88 kB / 0.7679 GB, free: 31.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-05/0.8843, allocations: 56.41 kB / 0.768 GB, free: 31.21 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.8843, allocations: 28.16 kB / 0.768 GB, free: 31.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.8859, allocations: 1.013 MB / 0.769 GB, free: 30.7 MB / 0.5105 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.008072/0.894, allocations: 6.318 MB / 0.7752 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007351/0.8948, allocations: 0.5781 MB / 0.7757 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004433/0.8952, allocations: 384.9 kB / 0.7761 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002638/0.8955, allocations: 0.5089 MB / 0.7766 GB, free: 22.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.8955, allocations: 43.12 kB / 0.7766 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001319/0.8969, allocations: 328.1 kB / 0.7769 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=58): time 2.825e-06/0.8969, allocations: 0 / 0.7769 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58): time 0.00165/0.8985, allocations: 1.12 MB / 0.778 GB, free: 21.17 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/0.8986, allocations: 55.97 kB / 0.7781 GB, free: 21.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/0.9003, allocations: 1.896 MB / 0.7799 GB, free: 19.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.775e-05/0.9003, allocations: 45.7 kB / 0.78 GB, free: 19.13 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004616/0.9008, allocations: 0.9272 MB / 0.7809 GB, free: 18.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.692e-05/0.9009, allocations: 199.7 kB / 0.7811 GB, free: 18 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003617/0.9013, allocations: 298.5 kB / 0.7814 GB, free: 17.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.258e-05/0.9014, allocations: 353.9 kB / 0.7817 GB, free: 17.36 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006224/0.902, allocations: 445.9 kB / 0.7821 GB, free: 16.92 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007581/0.9027, allocations: 0.6803 MB / 0.7828 GB, free: 16.17 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.9039, allocations: 0.9517 MB / 0.7837 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.904, allocations: 4 kB / 0.7837 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002018/0.906, allocations: 1.399 MB / 0.7851 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.906, allocations: 8 kB / 0.7851 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.906, allocations: 4.375 kB / 0.7851 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.906, allocations: 12 kB / 0.7851 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.9071, allocations: 285.7 kB / 0.7854 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.9072, allocations: 14.44 kB / 0.7854 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.9088, allocations: 147.5 kB / 0.7855 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.909, allocations: 59.95 kB / 0.7856 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001086/0.91, allocations: 0.7095 MB / 0.7863 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007686/0.9108, allocations: 0.6524 MB / 0.7869 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00114/0.912, allocations: 0.9094 MB / 0.7878 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.148e-06/0.912, allocations: 4 kB / 0.7878 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002023/0.914, allocations: 1.348 MB / 0.7891 GB, free: 9.586 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.914, allocations: 4 kB / 0.7891 GB, free: 9.582 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.9141, allocations: 4 kB / 0.7891 GB, free: 9.578 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/0.9141, allocations: 8 kB / 0.7891 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.9151, allocations: 285.2 kB / 0.7894 GB, free: 9.309 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.9151, allocations: 8 kB / 0.7894 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/0.9169, allocations: 155.8 kB / 0.7896 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-05/0.917, allocations: 63.94 kB / 0.7896 GB, free: 9.086 MB / 0.5105 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 (150): * Single equations (assignments): 150 * 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.0003053/0.9173, allocations: 239.7 kB / 0.7899 GB, free: 8.855 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002497/0.9175, allocations: 201.5 kB / 0.7901 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/0.9194, allocations: 1.068 MB / 0.7911 GB, free: 7.594 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.9194, allocations: 11.98 kB / 0.7911 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.9194, allocations: 3.938 kB / 0.7911 GB, free: 7.578 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.9194, allocations: 7.922 kB / 0.7911 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003174/0.9226, allocations: 2.402 MB / 0.7935 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.9226, allocations: 7.938 kB / 0.7935 GB, free: 5.113 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005125/0.9232, allocations: 135.8 kB / 0.7936 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.9232, allocations: 4.094 kB / 0.7936 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.9232, allocations: 23.97 kB / 0.7936 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.9232, allocations: 4 kB / 0.7936 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9232, allocations: 0 / 0.7936 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.9253, allocations: 2.391 MB / 0.796 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00057/0.9259, allocations: 362.2 kB / 0.7963 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.9261, allocations: 12 kB / 0.7963 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008458/0.9269, allocations: 95.7 kB / 0.7964 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.872e-05/0.927, allocations: 56.52 kB / 0.7965 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-05/0.9271, allocations: 20 kB / 0.7965 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001228/0.9283, allocations: 1.252 MB / 0.7977 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9283, allocations: 0 / 0.7977 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002062/0.9304, allocations: 0.9161 MB / 0.7986 GB, free: 15.75 MB / 0.5261 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.0006085/0.931, allocations: 347.5 kB / 0.7989 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002574/0.9336, allocations: 1.595 MB / 0.8005 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.9336, allocations: 4 kB / 0.8005 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000564/0.9342, allocations: 403.9 kB / 0.8009 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005225/0.9394, allocations: 1.14 MB / 0.802 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004844/0.9443, allocations: 4.097 MB / 0.806 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00091/0.9452, allocations: 1.425 MB / 0.8074 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001706/0.9469, allocations: 394.2 kB / 0.8078 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003864/0.9473, allocations: 163.4 kB / 0.8079 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of SimCode: time 4.31e-07/0.9473, allocations: 0 / 0.8079 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of Templates: time 0.06377/1.011, allocations: 38.26 MB / 0.8453 GB, free: 420 kB / 0.5573 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)