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.463/1.463, allocations: 249.5 MB / 257 MB, free: 6.902 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.001112/0.001112, allocations: 184.8 kB / 316.3 MB, free: 3.242 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.684/1.684, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0007924/0.0007924, allocations: 88.25 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.353e-05/2.363e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2095, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.598/1.807, allocations: 423.5 MB / 1.299 GB, free: 260.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000356/1.808, allocations: 95.77 kB / 1.299 GB, free: 260.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.993/5.801, allocations: 1.063 GB / 2.362 GB, free: 95.87 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.146e-06/5.801, allocations: 3.5 kB / 2.362 GB, free: 95.87 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002528/5.801, allocations: 73.59 kB / 2.362 GB, free: 95.86 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.006393/5.808, allocations: 2.293 MB / 2.364 GB, free: 94.92 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/5.808, allocations: 9.156 kB / 2.364 GB, free: 94.92 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009356/5.809, allocations: 268.4 kB / 2.365 GB, free: 94.79 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003659/5.812, allocations: 1.561 MB / 2.366 GB, free: 94.34 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.955e-05/5.812, allocations: 38.69 kB / 2.366 GB, free: 94.34 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/5.812, allocations: 95.92 kB / 2.366 GB, free: 94.34 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001537/5.814, allocations: 0.926 MB / 2.367 GB, free: 94.33 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/5.816, allocations: 0.9491 MB / 2.368 GB, free: 94.26 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/5.816, allocations: 0 / 2.368 GB, free: 94.26 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.351e-05/5.816, allocations: 0 / 2.368 GB, free: 94.26 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/5.816, allocations: 28.59 kB / 2.368 GB, free: 94.26 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.01001/5.826, allocations: 6.05 MB / 2.374 GB, free: 91.72 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007638/5.827, allocations: 0.5845 MB / 2.375 GB, free: 91.68 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004297/5.827, allocations: 378.1 kB / 2.375 GB, free: 91.68 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003373/5.827, allocations: 0.5136 MB / 2.375 GB, free: 91.11 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/5.827, allocations: 37.5 kB / 2.375 GB, free: 91.07 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002178/5.83, allocations: 431.7 kB / 2.376 GB, free: 91.04 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=58): time 4.208e-06/5.83, allocations: 0 / 2.376 GB, free: 91.04 MB / 0.8855 GB Notification: Performance of matching and sorting (n=58): time 0.001737/5.831, allocations: 0.8085 MB / 2.377 GB, free: 90.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/5.831, allocations: 60.84 kB / 2.377 GB, free: 90.84 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/5.833, allocations: 1.277 MB / 2.378 GB, free: 90.62 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001554/5.833, allocations: 29.67 kB / 2.378 GB, free: 90.59 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006077/5.834, allocations: 0.9185 MB / 2.379 GB, free: 90.27 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/5.834, allocations: 188.9 kB / 2.379 GB, free: 90.15 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/5.834, allocations: 0 / 2.379 GB, free: 90.15 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001003/5.834, allocations: 359.8 kB / 2.379 GB, free: 89.84 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005232/5.835, allocations: 378.2 kB / 2.38 GB, free: 89.84 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007165/5.835, allocations: 0.6994 MB / 2.38 GB, free: 89.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008691/5.836, allocations: 493 kB / 2.381 GB, free: 89.48 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/5.836, allocations: 0 / 2.381 GB, free: 89.48 MB / 0.8855 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002037/5.838, allocations: 1.229 MB / 2.382 GB, free: 89.32 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002143/5.839, allocations: 0.9175 MB / 2.383 GB, free: 88.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/5.839, allocations: 0 / 2.383 GB, free: 88.37 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/5.839, allocations: 6.781 kB / 2.383 GB, free: 88.37 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/5.84, allocations: 287.5 kB / 2.383 GB, free: 88.37 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/5.84, allocations: 7.781 kB / 2.383 GB, free: 88.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/5.842, allocations: 131.3 kB / 2.383 GB, free: 88.36 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/5.842, allocations: 58.5 kB / 2.383 GB, free: 88.36 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/5.842, allocations: 6.062 kB / 2.383 GB, free: 88.36 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001459/5.843, allocations: 0.9621 MB / 2.384 GB, free: 88.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/5.843, allocations: 0 / 2.384 GB, free: 88.33 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/5.843, allocations: 7.812 kB / 2.384 GB, free: 88.33 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/5.844, allocations: 281.5 kB / 2.385 GB, free: 88.33 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/5.844, allocations: 10.89 kB / 2.385 GB, free: 88.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/5.846, allocations: 128.8 kB / 2.385 GB, free: 88.31 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.676e-05/5.846, allocations: 62.42 kB / 2.385 GB, free: 88.31 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.0002539/5.846, allocations: 131 kB / 2.385 GB, free: 88.21 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001272/5.848, allocations: 0.7617 MB / 2.386 GB, free: 88.07 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/5.848, allocations: 174.6 kB / 2.386 GB, free: 87.97 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/5.85, allocations: 0.9562 MB / 2.387 GB, free: 87.86 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/5.85, allocations: 13.61 kB / 2.387 GB, free: 87.86 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/5.85, allocations: 0 / 2.387 GB, free: 87.86 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/5.85, allocations: 3.844 kB / 2.387 GB, free: 87.86 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003418/5.853, allocations: 2.111 MB / 2.389 GB, free: 87.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/5.853, allocations: 4.562 kB / 2.389 GB, free: 87.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005402/5.854, allocations: 139.3 kB / 2.389 GB, free: 87.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/5.854, allocations: 3.031 kB / 2.389 GB, free: 87.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/5.854, allocations: 13.44 kB / 2.389 GB, free: 87.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/5.854, allocations: 9.188 kB / 2.389 GB, free: 87.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/5.854, allocations: 3.594 kB / 2.389 GB, free: 87.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/5.855, allocations: 1.063 MB / 2.39 GB, free: 87.04 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006361/5.856, allocations: 343.2 kB / 2.39 GB, free: 86.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/5.856, allocations: 2.719 kB / 2.39 GB, free: 86.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009149/5.857, allocations: 98.67 kB / 2.391 GB, free: 86.84 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/5.857, allocations: 46.45 kB / 2.391 GB, free: 86.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/5.857, allocations: 33.11 kB / 2.391 GB, free: 86.83 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001186/5.858, allocations: 0.9314 MB / 2.392 GB, free: 86.69 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.31e-07/5.858, allocations: 0 / 2.392 GB, free: 86.69 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003078/5.861, allocations: 0.9629 MB / 2.392 GB, free: 86.56 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.003061/5.865, allocations: 2.871 MB / 2.395 GB, free: 85.06 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002396/5.867, allocations: 1.494 MB / 2.397 GB, free: 85.03 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/5.867, allocations: 0 / 2.397 GB, free: 85.03 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004202/5.867, allocations: 360.2 kB / 2.397 GB, free: 85.02 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005131/5.873, allocations: 0.9293 MB / 2.398 GB, free: 85.01 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007148/5.88, allocations: 2.441 MB / 2.4 GB, free: 84.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009499/5.881, allocations: 1.449 MB / 2.402 GB, free: 83.48 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00264/5.883, allocations: 470.3 kB / 2.402 GB, free: 83.43 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008897/5.884, allocations: 0.7914 MB / 2.403 GB, free: 83.43 MB / 0.8855 GB Notification: Performance of SimCode: time 2.695e-06/5.884, allocations: 0 / 2.403 GB, free: 83.43 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09262/5.977, allocations: 53.51 MB / 2.455 GB, free: 80.51 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/5.977, allocations: 202.9 kB / 2.455 GB, free: 80.23 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.825/9.802, allocations: 0 / 2.455 GB, free: 80.23 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)