Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.547/1.547, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001342/0.001342, allocations: 183.2 kB / 326.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.904/1.904, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008923/0.0008922, allocations: 105.6 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003788, allocations: 15.19 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2046, allocations: 106.3 MB / 0.9002 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8672/1.072, allocations: 423.3 MB / 1.313 GB, free: 8.77 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/1.072, allocations: 106 kB / 1.314 GB, free: 8.711 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.831/4.904, allocations: 1.072 GB / 2.386 GB, free: 22.04 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.166e-06/4.904, allocations: 0 / 2.386 GB, free: 22.04 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002546/4.904, allocations: 67.92 kB / 2.386 GB, free: 21.97 MB / 0.8855 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.007588/4.912, allocations: 2.691 MB / 2.388 GB, free: 19.22 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/4.912, allocations: 12.03 kB / 2.388 GB, free: 19.21 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004533/4.912, allocations: 181.4 kB / 2.389 GB, free: 19.02 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006049/4.913, allocations: 265.2 kB / 2.389 GB, free: 18.76 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004035/4.917, allocations: 1.595 MB / 2.39 GB, free: 17.09 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.766e-05/4.917, allocations: 110.3 kB / 2.391 GB, free: 16.98 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/4.917, allocations: 151.9 kB / 2.391 GB, free: 16.83 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002173/4.919, allocations: 1.144 MB / 2.392 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/4.919, allocations: 0 / 2.392 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/4.919, allocations: 44 kB / 2.392 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/4.919, allocations: 32 kB / 2.392 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/4.921, allocations: 1.009 MB / 2.393 GB, free: 14.57 MB / 0.8855 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.01113/4.932, allocations: 6.344 MB / 2.399 GB, free: 7.758 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008889/4.933, allocations: 0.5802 MB / 2.4 GB, free: 7.16 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004106/4.934, allocations: 0.5109 MB / 2.4 GB, free: 6.539 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/4.934, allocations: 43.12 kB / 2.4 GB, free: 6.488 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002643/4.936, allocations: 466.5 kB / 2.401 GB, free: 6.031 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=58): time 1.206e-05/4.936, allocations: 0 / 2.401 GB, free: 6.031 MB / 0.8855 GB Notification: Performance of matching and sorting (n=58): time 0.002698/4.939, allocations: 1.125 MB / 2.402 GB, free: 4.898 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/4.939, allocations: 59.97 kB / 2.402 GB, free: 4.828 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00285/4.942, allocations: 1.598 MB / 2.403 GB, free: 3.207 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002267/4.942, allocations: 53.7 kB / 2.403 GB, free: 3.148 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007652/4.943, allocations: 0.9299 MB / 2.404 GB, free: 2.207 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/4.943, allocations: 213 kB / 2.405 GB, free: 1.996 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.372e-05/4.943, allocations: 20 kB / 2.405 GB, free: 1.977 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001146/4.944, allocations: 349.9 kB / 2.405 GB, free: 1.629 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007337/4.944, allocations: 410.4 kB / 2.405 GB, free: 1.227 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009362/4.945, allocations: 0.7491 MB / 2.406 GB, free: 360 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/4.946, allocations: 0.4929 MB / 2.406 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/4.946, allocations: 0 / 2.406 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002877/4.949, allocations: 1.342 MB / 2.408 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005642/4.95, allocations: 0.9384 MB / 2.409 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/4.95, allocations: 4 kB / 2.409 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.939e-05/4.95, allocations: 11.94 kB / 2.409 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/4.951, allocations: 283.5 kB / 2.409 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.214e-05/4.951, allocations: 8 kB / 2.409 GB, free: 13.17 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/4.954, allocations: 159.6 kB / 2.409 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002061/4.954, allocations: 63.94 kB / 2.409 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/4.954, allocations: 4 kB / 2.409 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002313/4.956, allocations: 1.116 MB / 2.41 GB, free: 11.83 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/4.956, allocations: 4 kB / 2.41 GB, free: 11.83 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/4.956, allocations: 11.95 kB / 2.41 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/4.958, allocations: 267.6 kB / 2.411 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.658e-05/4.958, allocations: 11.94 kB / 2.411 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002663/4.96, allocations: 167.7 kB / 2.411 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/4.961, allocations: 59.95 kB / 2.411 GB, free: 11.32 MB / 0.9011 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 146 * 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.001707/4.962, allocations: 440.8 kB / 2.411 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009286/4.963, allocations: 197.5 kB / 2.411 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00306/4.966, allocations: 1.068 MB / 2.412 GB, free: 9.609 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/4.966, allocations: 8 kB / 2.412 GB, free: 9.602 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/4.966, allocations: 0 / 2.412 GB, free: 9.602 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/4.966, allocations: 7.984 kB / 2.412 GB, free: 9.594 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006418/4.973, allocations: 2.362 MB / 2.415 GB, free: 7.152 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/4.973, allocations: 0 / 2.415 GB, free: 7.152 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006259/4.974, allocations: 143.7 kB / 2.415 GB, free: 7.012 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-05/4.974, allocations: 8 kB / 2.415 GB, free: 7.004 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.143e-05/4.974, allocations: 15.98 kB / 2.415 GB, free: 6.988 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.936e-06/4.974, allocations: 11.98 kB / 2.415 GB, free: 6.977 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/4.974, allocations: 3.938 kB / 2.415 GB, free: 6.973 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/4.976, allocations: 1.163 MB / 2.416 GB, free: 5.727 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/4.977, allocations: 358.2 kB / 2.416 GB, free: 5.355 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006824/4.978, allocations: 16 kB / 2.416 GB, free: 5.34 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/4.98, allocations: 115.7 kB / 2.417 GB, free: 5.227 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/4.98, allocations: 52.48 kB / 2.417 GB, free: 5.176 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.576e-05/4.98, allocations: 27.98 kB / 2.417 GB, free: 5.148 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003008/4.983, allocations: 1.204 MB / 2.418 GB, free: 3.93 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.5e-07/4.983, allocations: 0 / 2.418 GB, free: 3.93 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.006636/4.99, allocations: 0.9831 MB / 2.419 GB, free: 2.945 MB / 0.9011 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 (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.5779/5.568, allocations: 2.94 MB / 2.422 GB, free: 103.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003713/5.571, allocations: 1.562 MB / 2.423 GB, free: 103.9 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/5.571, allocations: 1.188 kB / 2.423 GB, free: 103.9 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007491/5.572, allocations: 396.4 kB / 2.424 GB, free: 103.9 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007476/5.58, allocations: 1.145 MB / 2.425 GB, free: 103.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008869/5.589, allocations: 5.81 MB / 2.43 GB, free: 100.3 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0016/5.59, allocations: 1.441 MB / 2.432 GB, free: 99.55 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002823/5.593, allocations: 390.1 kB / 2.432 GB, free: 99.53 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001438/5.595, allocations: 0.8144 MB / 2.433 GB, free: 99.52 MB / 0.9011 GB Notification: Performance of SimCode: time 7.92e-07/5.595, allocations: 0.5938 kB / 2.433 GB, free: 99.52 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1241/5.719, allocations: 62.77 MB / 2.494 GB, free: 97.62 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/5.719, allocations: 260.1 kB / 2.494 GB, free: 97.28 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.018/10.74, allocations: 0 / 2.494 GB, free: 97.28 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)