Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7387/0.7387, allocations: 127.4 MB / 134.9 MB, free: 3.734 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 168.9 kB / 164.6 MB, free: 6.535 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.2 MB / 399.5 MB, free: 5.875 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009096/0.0009096, allocations: 94.41 kB / 476.7 MB, free: 8.602 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.925e-05/1.928e-05, allocations: 4 kB / 0.5467 GB, free: 60.41 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1424, allocations: 76.77 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.186/1.328, allocations: 358.2 MB / 0.9715 GB, free: 161.3 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/1.328, allocations: 96.75 kB / 0.9716 GB, free: 161.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.175/2.504, allocations: 396.5 MB / 1.359 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/2.504, allocations: 0 / 1.359 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.468e-05/2.504, allocations: 27.14 kB / 1.359 GB, free: 20.17 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001672/2.505, allocations: 1.024 MB / 1.36 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/2.505, allocations: 12.03 kB / 1.36 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/2.506, allocations: 98.88 kB / 1.36 GB, free: 19 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007875/2.506, allocations: 0.5652 MB / 1.36 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/2.506, allocations: 12 kB / 1.36 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.453e-05/2.506, allocations: 40.28 kB / 1.36 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003782/2.507, allocations: 238.5 kB / 1.361 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004665/2.507, allocations: 304 kB / 1.361 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/2.507, allocations: 0 / 1.361 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/2.507, allocations: 0 / 1.361 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/2.507, allocations: 12 kB / 1.361 GB, free: 17.81 MB / 0.6355 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.00247/2.51, allocations: 2.03 MB / 1.363 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/2.51, allocations: 130.5 kB / 1.363 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.07e-05/2.51, allocations: 36.86 kB / 1.363 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/2.51, allocations: 7.5 kB / 1.363 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/2.51, allocations: 38.56 kB / 1.363 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/2.51, allocations: 0 / 1.363 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0009894/2.511, allocations: 260.8 kB / 1.363 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/2.511, allocations: 63.34 kB / 1.363 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004327/2.512, allocations: 487.5 kB / 1.364 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/2.512, allocations: 29.7 kB / 1.364 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/2.512, allocations: 376.1 kB / 1.364 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/2.512, allocations: 51.3 kB / 1.364 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.907e-05/2.512, allocations: 0 / 1.364 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.753e-05/2.512, allocations: 366.8 kB / 1.365 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/2.512, allocations: 88 kB / 1.365 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/2.513, allocations: 200.6 kB / 1.365 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/2.513, allocations: 133.8 kB / 1.365 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/2.513, allocations: 0 / 1.365 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005003/2.513, allocations: 346.7 kB / 1.365 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.778e-05/2.513, allocations: 275 kB / 1.366 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/2.513, allocations: 0 / 1.366 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/2.513, allocations: 7.953 kB / 1.366 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002762/2.516, allocations: 455.5 kB / 1.366 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/2.518, allocations: 2.578 MB / 1.369 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008784/2.519, allocations: 95.72 kB / 1.369 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.592e-05/2.519, allocations: 23.98 kB / 1.369 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/2.519, allocations: 4 kB / 1.369 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004218/2.52, allocations: 199.9 kB / 1.369 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/2.52, allocations: 7.922 kB / 1.369 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.762e-06/2.52, allocations: 4 kB / 1.369 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/2.52, allocations: 99.86 kB / 1.369 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/2.52, allocations: 7.953 kB / 1.369 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005197/2.521, allocations: 63.84 kB / 1.369 GB, free: 9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/2.521, allocations: 16 kB / 1.369 GB, free: 8.984 MB / 0.6355 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 (43): * Single equations (assignments): 39 * 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.0001646/2.521, allocations: 108.9 kB / 1.369 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002912/2.521, allocations: 185 kB / 1.369 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.238e-05/2.521, allocations: 59.25 kB / 1.37 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/2.521, allocations: 53.38 kB / 1.37 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/2.521, allocations: 0 / 1.37 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/2.521, allocations: 0 / 1.37 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/2.521, allocations: 0 / 1.37 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005629/2.522, allocations: 437.1 kB / 1.37 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/2.522, allocations: 4 kB / 1.37 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002614/2.525, allocations: 447.5 kB / 1.37 GB, free: 7.668 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/2.525, allocations: 4 kB / 1.37 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/2.525, allocations: 3.953 kB / 1.37 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005803/2.53, allocations: 5.541 MB / 1.376 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/2.531, allocations: 4.031 kB / 1.376 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004313/2.531, allocations: 278.8 kB / 1.376 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/2.531, allocations: 148.3 kB / 1.376 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.991e-05/2.531, allocations: 0 / 1.376 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005025/2.532, allocations: 59.83 kB / 1.376 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.309e-05/2.532, allocations: 19.97 kB / 1.376 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/2.532, allocations: 4 kB / 1.376 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004139/2.532, allocations: 371.2 kB / 1.377 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/2.532, allocations: 0 / 1.377 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001215/2.534, allocations: 383.2 kB / 1.377 GB, free: 408 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.4315/2.965, allocations: 1.183 MB / 1.378 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004002/2.969, allocations: 0.6683 MB / 1.379 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/2.969, allocations: 3.688 kB / 1.379 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002894/2.972, allocations: 431.7 kB / 1.379 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/2.974, allocations: 297.3 kB / 1.38 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/2.977, allocations: 0.8213 MB / 1.38 GB, free: 109.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005453/2.977, allocations: 0.9308 MB / 1.381 GB, free: 108.4 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007842/2.978, allocations: 120.2 kB / 1.381 GB, free: 108.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/2.978, allocations: 235.6 kB / 1.382 GB, free: 108.4 MB / 0.6355 GB Notification: Performance of SimCode: time 6.21e-07/2.978, allocations: 0 / 1.382 GB, free: 108.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05286/3.031, allocations: 18.32 MB / 1.4 GB, free: 108.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/3.032, allocations: 198.7 kB / 1.4 GB, free: 107.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.724/5.755, allocations: 0.6562 kB / 1.4 GB, free: 107.9 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)