Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7557/0.7557, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001565/0.001566, allocations: 174.8 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.3 MB / 441.4 MB, free: 4.586 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009111/0.0009112, allocations: 97.64 kB / 0.5124 GB, free: 24.33 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00184/0.00184, allocations: 272.6 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.801e-05/3.813e-05, allocations: 8 kB / 0.6835 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4541/0.4542, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7402/1.194, allocations: 356.2 MB / 1.112 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/1.195, allocations: 98.84 kB / 1.112 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.64/2.835, allocations: 417.6 MB / 1.52 GB, free: 158.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.575e-06/2.835, allocations: 0 / 1.52 GB, free: 158.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.241e-05/2.835, allocations: 24.56 kB / 1.52 GB, free: 158.2 MB / 0.698 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.00185/2.837, allocations: 1.054 MB / 1.521 GB, free: 157.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/2.837, allocations: 7.781 kB / 1.521 GB, free: 157.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.35e-05/2.837, allocations: 85.23 kB / 1.521 GB, free: 157.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/2.837, allocations: 98 kB / 1.521 GB, free: 157.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009449/2.838, allocations: 0.5857 MB / 1.522 GB, free: 157.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/2.838, allocations: 41.59 kB / 1.522 GB, free: 157.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.181e-05/2.838, allocations: 58 kB / 1.522 GB, free: 157.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006051/2.839, allocations: 375.3 kB / 1.522 GB, free: 157.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/2.839, allocations: 0 / 1.522 GB, free: 157.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/2.839, allocations: 20.84 kB / 1.522 GB, free: 157.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/2.839, allocations: 11.53 kB / 1.522 GB, free: 157.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004099/2.839, allocations: 257 kB / 1.523 GB, free: 157.3 MB / 0.698 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.002527/2.842, allocations: 1.858 MB / 1.524 GB, free: 156.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/2.842, allocations: 150.4 kB / 1.525 GB, free: 156.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.94e-05/2.842, allocations: 68.5 kB / 1.525 GB, free: 156.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002564/2.842, allocations: 344.8 kB / 1.525 GB, free: 156 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/2.842, allocations: 38.23 kB / 1.525 GB, free: 156 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/2.842, allocations: 3.25 kB / 1.525 GB, free: 156 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.0004206/2.843, allocations: 215.9 kB / 1.525 GB, free: 155.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/2.843, allocations: 55.22 kB / 1.525 GB, free: 155.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005853/2.844, allocations: 0.5873 MB / 1.526 GB, free: 155.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/2.844, allocations: 33.14 kB / 1.526 GB, free: 155.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/2.844, allocations: 364.7 kB / 1.526 GB, free: 155.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/2.844, allocations: 66.75 kB / 1.526 GB, free: 155.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.619e-05/2.844, allocations: 10.31 kB / 1.526 GB, free: 155.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.934e-05/2.844, allocations: 378.7 kB / 1.527 GB, free: 155.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/2.844, allocations: 79.03 kB / 1.527 GB, free: 155.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/2.844, allocations: 201.8 kB / 1.527 GB, free: 155.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/2.845, allocations: 107.1 kB / 1.527 GB, free: 155.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/2.845, allocations: 9.453 kB / 1.527 GB, free: 155.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004881/2.845, allocations: 351.6 kB / 1.527 GB, free: 155 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.301e-05/2.845, allocations: 272.4 kB / 1.528 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/2.845, allocations: 10.89 kB / 1.528 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/2.845, allocations: 0 / 1.528 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008117/2.846, allocations: 135.1 kB / 1.528 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008588/2.847, allocations: 2.37 MB / 1.53 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006335/2.847, allocations: 88.86 kB / 1.53 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.351e-05/2.848, allocations: 18.69 kB / 1.53 GB, free: 152.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.747e-06/2.848, allocations: 9.969 kB / 1.53 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004084/2.848, allocations: 248.5 kB / 1.53 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-06/2.848, allocations: 0 / 1.53 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.031e-06/2.848, allocations: 3.688 kB / 1.53 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/2.848, allocations: 96.69 kB / 1.531 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/2.848, allocations: 14.27 kB / 1.531 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004745/2.849, allocations: 78.05 kB / 1.531 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/2.849, allocations: 19.12 kB / 1.531 GB, free: 152.4 MB / 0.698 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 () * 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.000104/2.849, allocations: 132 kB / 1.531 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-05/2.849, allocations: 67.66 kB / 1.531 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005084/2.85, allocations: 286 kB / 1.531 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/2.85, allocations: 1.969 kB / 1.531 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/2.85, allocations: 0 / 1.531 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/2.85, allocations: 3.969 kB / 1.531 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/2.851, allocations: 0.861 MB / 1.532 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/2.851, allocations: 0 / 1.532 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/2.851, allocations: 85.02 kB / 1.532 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/2.851, allocations: 0 / 1.532 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/2.851, allocations: 7.688 kB / 1.532 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007087/2.852, allocations: 2.357 MB / 1.534 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/2.852, allocations: 0 / 1.534 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/2.852, allocations: 428.1 kB / 1.535 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/2.852, allocations: 172.3 kB / 1.535 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.858e-05/2.852, allocations: 3.891 kB / 1.535 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/2.853, allocations: 60.55 kB / 1.535 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/2.853, allocations: 21.2 kB / 1.535 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/2.853, allocations: 7.688 kB / 1.535 GB, free: 149.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004656/2.853, allocations: 465.1 kB / 1.535 GB, free: 149 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/2.853, allocations: 0 / 1.535 GB, free: 149 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001066/2.854, allocations: 383.8 kB / 1.536 GB, free: 148.9 MB / 0.698 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 () * 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.001249/2.856, allocations: 1.598 MB / 1.537 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001145/2.857, allocations: 436.7 kB / 1.538 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/2.857, allocations: 2.25 kB / 1.538 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002847/2.857, allocations: 119.9 kB / 1.538 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/2.859, allocations: 363.5 kB / 1.538 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/2.86, allocations: 0.9077 MB / 1.539 GB, free: 147.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/2.861, allocations: 0.9548 MB / 1.54 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006093/2.861, allocations: 161.1 kB / 1.54 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/2.862, allocations: 243.9 kB / 1.54 GB, free: 146.7 MB / 0.698 GB Notification: Performance of SimCode: time 2.81e-07/2.862, allocations: 0 / 1.54 GB, free: 146.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04063/2.902, allocations: 23.72 MB / 1.564 GB, free: 146 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/2.903, allocations: 251.9 kB / 1.564 GB, free: 145.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.74/5.642, allocations: 4 kB / 1.564 GB, free: 145.6 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)