Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.571/2.571, allocations: 287.3 MB / 302.3 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001614/0.001613, allocations: 180 kB / 370.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.21/2.21, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001167/0.001166, allocations: 86.91 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005306/0.0005307, allocations: 11.11 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2167, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.318/1.534, allocations: 398.5 MB / 1.367 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004947/1.535, allocations: 99.19 kB / 1.368 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.114/3.649, allocations: 410.4 MB / 1.768 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.384e-06/3.649, allocations: 0 / 1.768 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.826e-05/3.649, allocations: 23.98 kB / 1.768 GB, free: 13.25 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.00296/3.652, allocations: 1.184 MB / 1.77 GB, free: 12.01 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/3.653, allocations: 12.02 kB / 1.77 GB, free: 12 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001714/3.653, allocations: 82.53 kB / 1.77 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002326/3.653, allocations: 99.17 kB / 1.77 GB, free: 11.81 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/3.655, allocations: 0.5781 MB / 1.77 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/3.655, allocations: 45 kB / 1.77 GB, free: 11.15 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/3.655, allocations: 56 kB / 1.77 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/3.656, allocations: 402.4 kB / 1.771 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/3.656, allocations: 3.938 kB / 1.771 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-05/3.656, allocations: 16 kB / 1.771 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/3.656, allocations: 12 kB / 1.771 GB, free: 10.66 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/3.657, allocations: 307.8 kB / 1.771 GB, free: 10.36 MB / 0.9323 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.005835/3.663, allocations: 1.846 MB / 1.773 GB, free: 8.363 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000775/3.664, allocations: 178.3 kB / 1.773 GB, free: 8.18 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003024/3.664, allocations: 340.5 kB / 1.773 GB, free: 7.773 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/3.664, allocations: 42.56 kB / 1.773 GB, free: 7.723 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=19): time 3.317e-06/3.664, allocations: 0 / 1.773 GB, free: 7.723 MB / 0.9323 GB Notification: Performance of matching and sorting (n=19): time 0.001503/3.666, allocations: 309 kB / 1.774 GB, free: 7.414 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/3.666, allocations: 59.41 kB / 1.774 GB, free: 7.344 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/3.667, allocations: 0.578 MB / 1.774 GB, free: 6.758 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.734e-05/3.667, allocations: 37.64 kB / 1.774 GB, free: 6.715 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/3.668, allocations: 372.6 kB / 1.775 GB, free: 6.344 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9.202e-05/3.668, allocations: 71 kB / 1.775 GB, free: 6.273 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/3.668, allocations: 8 kB / 1.775 GB, free: 6.266 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001529/3.668, allocations: 374.8 kB / 1.775 GB, free: 5.891 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005749/3.669, allocations: 104.7 kB / 1.775 GB, free: 5.785 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000705/3.669, allocations: 218.5 kB / 1.775 GB, free: 5.527 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004398/3.67, allocations: 129.5 kB / 1.776 GB, free: 5.402 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/3.67, allocations: 4 kB / 1.776 GB, free: 5.398 MB / 0.9323 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001545/3.671, allocations: 387.2 kB / 1.776 GB, free: 5.016 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.877e-05/3.672, allocations: 270.9 kB / 1.776 GB, free: 4.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/3.672, allocations: 7.984 kB / 1.776 GB, free: 4.723 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.97e-05/3.672, allocations: 0 / 1.776 GB, free: 4.723 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002185/3.674, allocations: 131.8 kB / 1.776 GB, free: 4.594 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/3.675, allocations: 2.378 MB / 1.779 GB, free: 2.125 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/3.677, allocations: 95.66 kB / 1.779 GB, free: 2.031 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/3.677, allocations: 15.94 kB / 1.779 GB, free: 2.016 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/3.677, allocations: 4 kB / 1.779 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001349/3.679, allocations: 291.8 kB / 1.779 GB, free: 1.727 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/3.679, allocations: 3.938 kB / 1.779 GB, free: 1.723 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/3.679, allocations: 4 kB / 1.779 GB, free: 1.719 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/3.68, allocations: 103.9 kB / 1.779 GB, free: 1.617 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/3.68, allocations: 4 kB / 1.779 GB, free: 1.613 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/3.681, allocations: 79.62 kB / 1.779 GB, free: 1.535 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.305e-05/3.681, allocations: 19.98 kB / 1.779 GB, free: 1.516 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004296/3.682, allocations: 272.9 kB / 1.78 GB, free: 1.238 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/3.682, allocations: 71.06 kB / 1.78 GB, free: 1.168 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000995/3.683, allocations: 318.8 kB / 1.78 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/3.683, allocations: 4 kB / 1.78 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/3.683, allocations: 0 / 1.78 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/3.683, allocations: 3.984 kB / 1.78 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6917/4.375, allocations: 0.8887 MB / 1.781 GB, free: 210.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/4.375, allocations: 0.7188 kB / 1.781 GB, free: 210.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006671/4.375, allocations: 75.09 kB / 1.781 GB, free: 210.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/4.375, allocations: 6.562 kB / 1.781 GB, free: 210.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/4.375, allocations: 8.359 kB / 1.781 GB, free: 210.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/4.376, allocations: 2.353 MB / 1.783 GB, free: 208.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/4.376, allocations: 5.266 kB / 1.783 GB, free: 208.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/4.378, allocations: 457 kB / 1.784 GB, free: 207.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003913/4.378, allocations: 165.8 kB / 1.784 GB, free: 207.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/4.378, allocations: 6.844 kB / 1.784 GB, free: 207.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008006/4.379, allocations: 59.12 kB / 1.784 GB, free: 207.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.355e-05/4.379, allocations: 17.62 kB / 1.784 GB, free: 207.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-05/4.379, allocations: 11.08 kB / 1.784 GB, free: 207.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0009652/4.38, allocations: 459.5 kB / 1.784 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.11e-07/4.38, allocations: 4.125 kB / 1.784 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001881/4.382, allocations: 385.5 kB / 1.785 GB, free: 207.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002354/4.384, allocations: 1.622 MB / 1.786 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00256/4.387, allocations: 467.7 kB / 1.787 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/4.387, allocations: 4.656 kB / 1.787 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007146/4.388, allocations: 143.7 kB / 1.787 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003663/4.391, allocations: 371.7 kB / 1.787 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004304/4.396, allocations: 2.022 MB / 1.789 GB, free: 205.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006609/4.396, allocations: 0.9415 MB / 1.79 GB, free: 204.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00102/4.397, allocations: 113.7 kB / 1.79 GB, free: 204.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005023/4.398, allocations: 252.5 kB / 1.79 GB, free: 204.6 MB / 0.9323 GB Notification: Performance of SimCode: time 1.994e-06/4.398, allocations: 0.875 kB / 1.79 GB, free: 204.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07951/4.478, allocations: 22.03 MB / 1.812 GB, free: 204.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002436/4.478, allocations: 271 kB / 1.812 GB, free: 203.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.563/8.041, allocations: 0 / 1.812 GB, free: 203.9 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)