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: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 181.8 kB / 13.19 MB, free: 2.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.5575/0.5575, allocations: 90.8 MB / 104.5 MB, free: 13.91 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.444/1.444, allocations: 221.3 MB / 348.3 MB, free: 12.55 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.0009585/0.0009584, allocations: 97.88 kB / 421.2 MB, free: 5.684 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.135e-05/3.136e-05, allocations: 8 kB / 0.4897 GB, free: 46.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1384, allocations: 72.31 MB / 0.5603 GB, free: 6.309 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.133/1.271, allocations: 381.4 MB / 0.9328 GB, free: 92.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/1.271, allocations: 93.95 kB / 0.9328 GB, free: 92.05 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.769/6.04, allocations: 1.123 GB / 2.056 GB, free: 51.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.804e-06/6.04, allocations: 0 / 2.056 GB, free: 51.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000358/6.041, allocations: 66.73 kB / 2.056 GB, free: 51.29 MB / 0.6355 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.006277/6.047, allocations: 2.329 MB / 2.058 GB, free: 50.24 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.831e-05/6.047, allocations: 11.05 kB / 2.058 GB, free: 50.24 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000518/6.048, allocations: 180.9 kB / 2.058 GB, free: 50.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/6.049, allocations: 267.7 kB / 2.058 GB, free: 50.06 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004576/6.053, allocations: 1.599 MB / 2.06 GB, free: 49.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/6.053, allocations: 106.8 kB / 2.06 GB, free: 49.58 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003563/6.054, allocations: 148.3 kB / 2.06 GB, free: 49.58 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/6.056, allocations: 1.112 MB / 2.061 GB, free: 49.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/6.056, allocations: 1.156 kB / 2.061 GB, free: 49.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/6.056, allocations: 51.33 kB / 2.061 GB, free: 49.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/6.056, allocations: 29.03 kB / 2.061 GB, free: 49.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/6.058, allocations: 0.956 MB / 2.062 GB, free: 49.48 MB / 0.6355 GB Warning: The model contains alias variables with conflicting start and/or 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.009724/6.067, allocations: 6.375 MB / 2.068 GB, free: 46.86 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008025/6.068, allocations: 0.5649 MB / 2.069 GB, free: 46.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004639/6.069, allocations: 380.1 kB / 2.069 GB, free: 46.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003799/6.069, allocations: 0.5128 MB / 2.07 GB, free: 46.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/6.069, allocations: 52.33 kB / 2.07 GB, free: 46.21 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002441/6.071, allocations: 467.8 kB / 2.07 GB, free: 46.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=58): time 6.813e-06/6.071, allocations: 1.219 kB / 2.07 GB, free: 46.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=58): time 0.001516/6.073, allocations: 0.8324 MB / 2.071 GB, free: 46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/6.073, allocations: 60.44 kB / 2.071 GB, free: 45.94 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/6.075, allocations: 1.625 MB / 2.073 GB, free: 45.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001369/6.075, allocations: 51.42 kB / 2.073 GB, free: 45.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006247/6.076, allocations: 0.9196 MB / 2.074 GB, free: 45.42 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/6.076, allocations: 206.1 kB / 2.074 GB, free: 45.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/6.076, allocations: 20.72 kB / 2.074 GB, free: 45.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.909e-05/6.076, allocations: 353.9 kB / 2.074 GB, free: 44.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005541/6.077, allocations: 372.8 kB / 2.075 GB, free: 44.98 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007442/6.078, allocations: 0.7158 MB / 2.075 GB, free: 44.63 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006783/6.078, allocations: 490.6 kB / 2.076 GB, free: 44.61 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/6.078, allocations: 0 / 2.076 GB, free: 44.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001872/6.08, allocations: 1.262 MB / 2.077 GB, free: 44.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002007/6.08, allocations: 0.9353 MB / 2.078 GB, free: 43.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/6.08, allocations: 0.7188 kB / 2.078 GB, free: 43.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/6.08, allocations: 16.03 kB / 2.078 GB, free: 43.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/6.082, allocations: 272 kB / 2.078 GB, free: 43.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/6.082, allocations: 7.094 kB / 2.078 GB, free: 43.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/6.084, allocations: 166.4 kB / 2.078 GB, free: 43.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/6.084, allocations: 61.5 kB / 2.078 GB, free: 43.44 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/6.084, allocations: 3.812 kB / 2.078 GB, free: 43.44 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001503/6.085, allocations: 1.04 MB / 2.079 GB, free: 43.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/6.085, allocations: 3.656 kB / 2.08 GB, free: 43.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/6.085, allocations: 6.469 kB / 2.08 GB, free: 43.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/6.087, allocations: 270.7 kB / 2.08 GB, free: 43.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/6.087, allocations: 3.969 kB / 2.08 GB, free: 43.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/6.088, allocations: 162.1 kB / 2.08 GB, free: 43.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/6.089, allocations: 60.8 kB / 2.08 GB, free: 43.39 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002605/6.089, allocations: 162 kB / 2.08 GB, free: 43.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002933/6.089, allocations: 204.4 kB / 2.08 GB, free: 43.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001998/6.091, allocations: 1.035 MB / 2.081 GB, free: 43.08 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/6.091, allocations: 11.19 kB / 2.081 GB, free: 43.08 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/6.091, allocations: 1.188 kB / 2.081 GB, free: 43.08 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/6.091, allocations: 7.078 kB / 2.081 GB, free: 43.08 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003659/6.095, allocations: 2.357 MB / 2.084 GB, free: 42.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/6.095, allocations: 1.031 kB / 2.084 GB, free: 42.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007749/6.096, allocations: 132.2 kB / 2.084 GB, free: 42.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.456e-05/6.096, allocations: 16.25 kB / 2.084 GB, free: 42.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-05/6.096, allocations: 17.16 kB / 2.084 GB, free: 42.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.879e-06/6.096, allocations: 3.875 kB / 2.084 GB, free: 42.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/6.096, allocations: 2.969 kB / 2.084 GB, free: 42.68 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/6.097, allocations: 1.138 MB / 2.085 GB, free: 42.21 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007856/6.098, allocations: 373.2 kB / 2.085 GB, free: 42 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/6.098, allocations: 19.72 kB / 2.085 GB, free: 42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/6.099, allocations: 115 kB / 2.085 GB, free: 41.99 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/6.1, allocations: 49.3 kB / 2.085 GB, free: 41.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.017e-05/6.1, allocations: 29.52 kB / 2.085 GB, free: 41.98 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001642/6.101, allocations: 1.22 MB / 2.087 GB, free: 41.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.3e-07/6.101, allocations: 0 / 2.087 GB, free: 41.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002875/6.104, allocations: 0.9723 MB / 2.088 GB, free: 41.74 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002993/6.107, allocations: 2.915 MB / 2.09 GB, free: 40.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002567/6.11, allocations: 1.546 MB / 2.092 GB, free: 40.19 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/6.11, allocations: 2.906 kB / 2.092 GB, free: 40.19 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005306/6.11, allocations: 376.9 kB / 2.092 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006139/6.116, allocations: 1.123 MB / 2.093 GB, free: 40.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006276/6.123, allocations: 2.589 MB / 2.096 GB, free: 39.35 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008987/6.124, allocations: 1.454 MB / 2.097 GB, free: 38.62 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002653/6.126, allocations: 0.5069 MB / 2.098 GB, free: 38.59 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000884/6.127, allocations: 0.7878 MB / 2.099 GB, free: 38.58 MB / 0.6355 GB Notification: Performance of SimCode: time 3.456e-06/6.127, allocations: 2.594 kB / 2.099 GB, free: 38.58 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1129/6.24, allocations: 67.65 MB / 2.165 GB, free: 33.03 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/6.24, allocations: 209.2 kB / 2.165 GB, free: 32.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.728/10.97, allocations: 0 / 2.165 GB, free: 32.8 MB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)