Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.ThreeWayValveParameterization,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",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.7544/0.7544, allocations: 141.7 MB / 154.3 MB, free: 15.49 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.0009777/0.0009778, allocations: 174.6 kB / 187.2 MB, free: 11.89 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.419/1.419, allocations: 221.3 MB / 441.4 MB, free: 4.645 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.0008287/0.0008288, allocations: 97.92 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001752/0.001752, allocations: 268.7 kB / 0.5939 GB, free: 7.988 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.293e-05/5.305e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4264, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7979/1.224, allocations: 388.4 MB / 1.144 GB, free: 2.105 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/1.225, allocations: 104 kB / 1.144 GB, free: 2.051 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.079/5.304, allocations: 1.122 GB / 2.266 GB, free: 4.586 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.402e-06/5.304, allocations: 0 / 2.266 GB, free: 4.586 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003696/5.304, allocations: 71.86 kB / 2.266 GB, free: 4.516 MB / 0.7292 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.006497/5.311, allocations: 2.316 MB / 2.268 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/5.311, allocations: 12.03 kB / 2.268 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005456/5.311, allocations: 173.4 kB / 2.268 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/5.312, allocations: 265.5 kB / 2.269 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004817/5.317, allocations: 1.588 MB / 2.27 GB, free: 32 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.5031/5.82, allocations: 110.3 kB / 2.27 GB, free: 68.16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007085/5.821, allocations: 146.6 kB / 2.27 GB, free: 68.16 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002688/5.824, allocations: 1.107 MB / 2.272 GB, free: 68.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/5.824, allocations: 0 / 2.272 GB, free: 68.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/5.824, allocations: 46.5 kB / 2.272 GB, free: 68.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.949e-05/5.824, allocations: 28.53 kB / 2.272 GB, free: 68.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/5.826, allocations: 0.9543 MB / 2.273 GB, free: 68.06 MB / 0.7292 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.01285/5.839, allocations: 6.382 MB / 2.279 GB, free: 65.59 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007626/5.84, allocations: 0.5681 MB / 2.279 GB, free: 65.55 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004478/5.84, allocations: 376.7 kB / 2.28 GB, free: 65.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003478/5.84, allocations: 0.5162 MB / 2.28 GB, free: 64.98 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/5.841, allocations: 46.2 kB / 2.28 GB, free: 64.94 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002383/5.843, allocations: 469.6 kB / 2.281 GB, free: 64.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=58): time 3.937e-06/5.843, allocations: 5.906 kB / 2.281 GB, free: 64.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=58): time 0.001305/5.844, allocations: 0.8252 MB / 2.281 GB, free: 64.76 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/5.844, allocations: 58.38 kB / 2.282 GB, free: 64.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/5.846, allocations: 1.613 MB / 2.283 GB, free: 64.47 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.834e-05/5.846, allocations: 49.45 kB / 2.283 GB, free: 64.44 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006518/5.847, allocations: 0.9233 MB / 2.284 GB, free: 64.23 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/5.847, allocations: 207.8 kB / 2.284 GB, free: 64.13 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.939e-05/5.847, allocations: 20.78 kB / 2.284 GB, free: 64.13 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.792e-05/5.847, allocations: 351 kB / 2.285 GB, free: 63.83 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005582/5.848, allocations: 387 kB / 2.285 GB, free: 63.83 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007533/5.849, allocations: 0.7176 MB / 2.286 GB, free: 63.49 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006769/5.849, allocations: 497.2 kB / 2.286 GB, free: 63.48 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/5.849, allocations: 0 / 2.286 GB, free: 63.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001812/5.851, allocations: 1.29 MB / 2.287 GB, free: 63.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002169/5.851, allocations: 0.9359 MB / 2.288 GB, free: 62.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/5.851, allocations: 3.812 kB / 2.288 GB, free: 62.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/5.851, allocations: 7.344 kB / 2.288 GB, free: 62.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/5.853, allocations: 279.2 kB / 2.289 GB, free: 62.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/5.853, allocations: 8.75 kB / 2.289 GB, free: 62.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/5.854, allocations: 160.3 kB / 2.289 GB, free: 62.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/5.855, allocations: 67.66 kB / 2.289 GB, free: 62.31 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.258e-06/5.855, allocations: 2.344 kB / 2.289 GB, free: 62.31 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001503/5.856, allocations: 1.064 MB / 2.29 GB, free: 62.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/5.856, allocations: 0 / 2.29 GB, free: 62.28 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/5.856, allocations: 9.969 kB / 2.29 GB, free: 62.28 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/5.857, allocations: 277.3 kB / 2.29 GB, free: 62.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/5.857, allocations: 10.34 kB / 2.29 GB, free: 62.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/5.859, allocations: 167.6 kB / 2.29 GB, free: 62.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.371e-05/5.859, allocations: 57.95 kB / 2.29 GB, free: 62.27 MB / 0.7292 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.0002222/5.859, allocations: 161.5 kB / 2.291 GB, free: 62.17 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/5.859, allocations: 215.7 kB / 2.291 GB, free: 62.05 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/5.861, allocations: 1.034 MB / 2.292 GB, free: 61.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/5.861, allocations: 13.09 kB / 2.292 GB, free: 61.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/5.861, allocations: 0 / 2.292 GB, free: 61.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/5.861, allocations: 3.703 kB / 2.292 GB, free: 61.98 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003308/5.865, allocations: 2.355 MB / 2.294 GB, free: 61.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/5.865, allocations: 0 / 2.294 GB, free: 61.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005377/5.865, allocations: 140.2 kB / 2.294 GB, free: 61.58 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/5.865, allocations: 7.375 kB / 2.294 GB, free: 61.58 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-05/5.865, allocations: 19.91 kB / 2.294 GB, free: 61.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/5.865, allocations: 4.406 kB / 2.294 GB, free: 61.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/5.865, allocations: 2.344 kB / 2.294 GB, free: 61.58 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/5.866, allocations: 1.132 MB / 2.295 GB, free: 61.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006589/5.867, allocations: 374.4 kB / 2.296 GB, free: 60.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/5.867, allocations: 18.19 kB / 2.296 GB, free: 60.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/5.868, allocations: 117 kB / 2.296 GB, free: 60.89 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/5.868, allocations: 51.8 kB / 2.296 GB, free: 60.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.167e-05/5.869, allocations: 30.98 kB / 2.296 GB, free: 60.89 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001469/5.87, allocations: 1.211 MB / 2.297 GB, free: 60.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.4e-07/5.87, allocations: 0 / 2.297 GB, free: 60.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002676/5.873, allocations: 0.9859 MB / 2.298 GB, free: 60.7 MB / 0.7292 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.002787/5.876, allocations: 2.916 MB / 2.301 GB, free: 59.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002282/5.878, allocations: 1.576 MB / 2.302 GB, free: 59.19 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/5.878, allocations: 1.906 kB / 2.302 GB, free: 59.19 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004489/5.878, allocations: 382.3 kB / 2.303 GB, free: 59.19 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005179/5.883, allocations: 1.121 MB / 2.304 GB, free: 59.17 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004761/5.888, allocations: 2.578 MB / 2.306 GB, free: 58.39 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000749/5.889, allocations: 1.452 MB / 2.308 GB, free: 57.65 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002264/5.891, allocations: 0.5201 MB / 2.308 GB, free: 57.63 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007975/5.892, allocations: 0.7838 MB / 2.309 GB, free: 57.63 MB / 0.7292 GB Notification: Performance of SimCode: time 1.031e-06/5.892, allocations: 1.344 kB / 2.309 GB, free: 57.63 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09485/5.987, allocations: 67.7 MB / 2.375 GB, free: 54.93 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/5.987, allocations: 227.4 kB / 2.375 GB, free: 54.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.251/10.24, allocations: 7.828 kB / 2.375 GB, free: 54.7 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)