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.448/1.448, allocations: 249.3 MB / 261.8 MB, free: 5.805 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 180.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.781/1.781, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0009092/0.0009092, allocations: 82.55 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.822e-05/4.863e-05, allocations: 0 / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.281, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.767/2.048, allocations: 423.2 MB / 1.305 GB, free: 259.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003455/2.048, allocations: 94.36 kB / 1.305 GB, free: 259.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.253/6.302, allocations: 1.069 GB / 2.374 GB, free: 94.44 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.134e-06/6.302, allocations: 0 / 2.374 GB, free: 94.44 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003953/6.302, allocations: 67.8 kB / 2.374 GB, free: 94.43 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.006968/6.309, allocations: 2.301 MB / 2.376 GB, free: 93.45 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/6.309, allocations: 11.31 kB / 2.376 GB, free: 93.45 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005065/6.31, allocations: 173.8 kB / 2.376 GB, free: 93.41 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009608/6.311, allocations: 268.8 kB / 2.377 GB, free: 93.28 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004947/6.316, allocations: 1.567 MB / 2.378 GB, free: 92.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/6.316, allocations: 112.1 kB / 2.378 GB, free: 92.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004282/6.316, allocations: 145.8 kB / 2.379 GB, free: 92.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/6.319, allocations: 1.112 MB / 2.38 GB, free: 92.71 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/6.319, allocations: 0 / 2.38 GB, free: 92.71 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/6.319, allocations: 44.62 kB / 2.38 GB, free: 92.71 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/6.319, allocations: 30.94 kB / 2.38 GB, free: 92.71 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/6.32, allocations: 0.9575 MB / 2.381 GB, free: 92.7 MB / 0.8855 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.01203/6.333, allocations: 6.33 MB / 2.387 GB, free: 90.08 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009371/6.334, allocations: 0.5521 MB / 2.387 GB, free: 90.05 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000482/6.334, allocations: 372.2 kB / 2.388 GB, free: 90.04 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003935/6.334, allocations: 0.5127 MB / 2.388 GB, free: 89.48 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/6.334, allocations: 42.44 kB / 2.388 GB, free: 89.44 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002621/6.337, allocations: 478.4 kB / 2.389 GB, free: 89.38 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=58): time 7.414e-06/6.337, allocations: 0 / 2.389 GB, free: 89.38 MB / 0.8855 GB Notification: Performance of matching and sorting (n=58): time 0.001894/6.339, allocations: 0.8103 MB / 2.389 GB, free: 89.23 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/6.339, allocations: 56.08 kB / 2.39 GB, free: 89.17 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002663/6.342, allocations: 1.588 MB / 2.391 GB, free: 88.93 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002987/6.342, allocations: 48.17 kB / 2.391 GB, free: 88.89 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007769/6.343, allocations: 0.9323 MB / 2.392 GB, free: 88.64 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000203/6.343, allocations: 200.8 kB / 2.392 GB, free: 88.51 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.794e-05/6.343, allocations: 22.59 kB / 2.392 GB, free: 88.51 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.066e-05/6.343, allocations: 351.3 kB / 2.393 GB, free: 88.21 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006615/6.344, allocations: 384.1 kB / 2.393 GB, free: 88.21 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000848/6.345, allocations: 0.7197 MB / 2.394 GB, free: 87.86 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007401/6.346, allocations: 494.1 kB / 2.394 GB, free: 87.83 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/6.346, allocations: 0 / 2.394 GB, free: 87.83 MB / 0.8855 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.00244/6.348, allocations: 1.283 MB / 2.395 GB, free: 87.66 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002297/6.348, allocations: 0.9359 MB / 2.396 GB, free: 86.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/6.348, allocations: 3.531 kB / 2.396 GB, free: 86.68 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.262e-05/6.348, allocations: 7.562 kB / 2.396 GB, free: 86.68 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/6.349, allocations: 278.9 kB / 2.397 GB, free: 86.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.155e-05/6.35, allocations: 13.78 kB / 2.397 GB, free: 86.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002611/6.352, allocations: 168.1 kB / 2.397 GB, free: 86.66 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/6.352, allocations: 63.2 kB / 2.397 GB, free: 86.66 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/6.352, allocations: 5.25 kB / 2.397 GB, free: 86.66 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00177/6.354, allocations: 1.054 MB / 2.398 GB, free: 86.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/6.354, allocations: 6.922 kB / 2.398 GB, free: 86.62 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/6.354, allocations: 6.906 kB / 2.398 GB, free: 86.62 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/6.355, allocations: 280.9 kB / 2.398 GB, free: 86.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/6.355, allocations: 11.08 kB / 2.398 GB, free: 86.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/6.358, allocations: 161.3 kB / 2.398 GB, free: 86.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/6.358, allocations: 58.34 kB / 2.398 GB, free: 86.61 MB / 0.8855 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 (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.0003663/6.358, allocations: 161.7 kB / 2.398 GB, free: 86.51 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005854/6.359, allocations: 201.1 kB / 2.399 GB, free: 86.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/6.361, allocations: 1.03 MB / 2.4 GB, free: 86.29 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/6.361, allocations: 6.344 kB / 2.4 GB, free: 86.29 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/6.361, allocations: 0 / 2.4 GB, free: 86.29 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/6.361, allocations: 7.766 kB / 2.4 GB, free: 86.29 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004522/6.366, allocations: 2.33 MB / 2.402 GB, free: 85.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/6.366, allocations: 3.938 kB / 2.402 GB, free: 85.88 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005803/6.366, allocations: 131.4 kB / 2.402 GB, free: 85.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/6.366, allocations: 6.719 kB / 2.402 GB, free: 85.88 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/6.366, allocations: 18.62 kB / 2.402 GB, free: 85.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/6.366, allocations: 7.562 kB / 2.402 GB, free: 85.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/6.366, allocations: 5.625 kB / 2.402 GB, free: 85.88 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/6.368, allocations: 1.119 MB / 2.403 GB, free: 85.41 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/6.369, allocations: 360.3 kB / 2.404 GB, free: 85.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003779/6.37, allocations: 17.47 kB / 2.404 GB, free: 85.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/6.371, allocations: 106.2 kB / 2.404 GB, free: 85.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/6.371, allocations: 57.03 kB / 2.404 GB, free: 85.19 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.358e-05/6.371, allocations: 26.73 kB / 2.404 GB, free: 85.19 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002005/6.373, allocations: 1.186 MB / 2.405 GB, free: 85.03 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.81e-07/6.373, allocations: 0 / 2.405 GB, free: 85.03 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00386/6.377, allocations: 0.983 MB / 2.406 GB, free: 84.95 MB / 0.8855 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.003274/6.38, allocations: 2.904 MB / 2.409 GB, free: 83.45 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002736/6.383, allocations: 1.568 MB / 2.41 GB, free: 83.41 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/6.383, allocations: 1.5 kB / 2.41 GB, free: 83.41 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005241/6.384, allocations: 378 kB / 2.411 GB, free: 83.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006696/6.39, allocations: 1.139 MB / 2.412 GB, free: 83.38 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006745/6.397, allocations: 2.554 MB / 2.414 GB, free: 82.58 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008579/6.398, allocations: 1.44 MB / 2.416 GB, free: 81.85 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0031/6.401, allocations: 0.5119 MB / 2.416 GB, free: 81.81 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/6.402, allocations: 0.7895 MB / 2.417 GB, free: 81.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.463e-06/6.402, allocations: 0 / 2.417 GB, free: 81.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.127/6.529, allocations: 67.92 MB / 2.483 GB, free: 74.54 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/6.529, allocations: 231.7 kB / 2.483 GB, free: 74.31 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.232/11.76, allocations: 0 / 2.483 GB, free: 74.31 MB / 0.8855 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)