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.8306/0.8306, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 184.8 kB / 182.2 MB, free: 9.441 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.477/1.477, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.001091/0.001091, allocations: 93.73 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001836/0.001836, allocations: 284.6 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.198e-05/2.202e-05, allocations: 4 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4682/0.4682, allocations: 82.77 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8605/1.329, allocations: 387.7 MB / 1.136 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/1.329, allocations: 97.5 kB / 1.136 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.126/5.455, allocations: 1.116 GB / 2.253 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.464e-06/5.455, allocations: 3.938 kB / 2.253 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002738/5.456, allocations: 63.97 kB / 2.253 GB, free: 15.27 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.007019/5.463, allocations: 2.324 MB / 2.255 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/5.463, allocations: 12.02 kB / 2.255 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/5.464, allocations: 269.5 kB / 2.255 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004034/5.468, allocations: 1.584 MB / 2.257 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/5.468, allocations: 40 kB / 2.257 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/5.468, allocations: 88 kB / 2.257 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001706/5.47, allocations: 0.9341 MB / 2.258 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/5.472, allocations: 0.9519 MB / 2.259 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/5.472, allocations: 0 / 2.259 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.705e-05/5.472, allocations: 0 / 2.259 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.757e-05/5.472, allocations: 32 kB / 2.259 GB, free: 8.887 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.01155/5.483, allocations: 6.076 MB / 2.265 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008941/5.484, allocations: 0.596 MB / 2.265 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005092/5.485, allocations: 380.9 kB / 2.266 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004636/5.485, allocations: 0.5108 MB / 2.266 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/5.485, allocations: 35.12 kB / 2.266 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002275/5.488, allocations: 430.9 kB / 2.267 GB, free: 304 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=58): time 4.799e-06/5.488, allocations: 0 / 2.267 GB, free: 304 kB / 0.7292 GB Notification: Performance of matching and sorting (n=58): time 0.5614/6.049, allocations: 0.8159 MB / 2.267 GB, free: 71.14 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/6.049, allocations: 58.67 kB / 2.267 GB, free: 71.08 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004352/6.053, allocations: 1.31 MB / 2.269 GB, free: 70.89 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000389/6.054, allocations: 28.39 kB / 2.269 GB, free: 70.86 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001389/6.055, allocations: 0.9202 MB / 2.27 GB, free: 70.65 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003627/6.056, allocations: 192.7 kB / 2.27 GB, free: 70.55 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/6.056, allocations: 0.5312 kB / 2.27 GB, free: 70.55 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001388/6.056, allocations: 353.4 kB / 2.27 GB, free: 70.25 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/6.057, allocations: 380.1 kB / 2.271 GB, free: 70.25 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/6.058, allocations: 0.7028 MB / 2.271 GB, free: 69.91 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/6.06, allocations: 495.1 kB / 2.272 GB, free: 69.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/6.06, allocations: 2.906 kB / 2.272 GB, free: 69.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003278/6.063, allocations: 1.232 MB / 2.273 GB, free: 69.76 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002468/6.063, allocations: 0.9197 MB / 2.274 GB, free: 68.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/6.063, allocations: 6.188 kB / 2.274 GB, free: 68.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.884e-05/6.063, allocations: 7.812 kB / 2.274 GB, free: 68.81 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/6.065, allocations: 280.5 kB / 2.274 GB, free: 68.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.618e-05/6.065, allocations: 6.688 kB / 2.274 GB, free: 68.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002226/6.067, allocations: 129.6 kB / 2.274 GB, free: 68.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001915/6.067, allocations: 63.23 kB / 2.274 GB, free: 68.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/6.067, allocations: 4.562 kB / 2.274 GB, free: 68.8 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001811/6.069, allocations: 0.9706 MB / 2.275 GB, free: 68.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/6.069, allocations: 8.656 kB / 2.275 GB, free: 68.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/6.069, allocations: 9.375 kB / 2.275 GB, free: 68.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/6.07, allocations: 270.3 kB / 2.275 GB, free: 68.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-05/6.07, allocations: 11.61 kB / 2.275 GB, free: 68.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/6.072, allocations: 130 kB / 2.276 GB, free: 68.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/6.073, allocations: 59.86 kB / 2.276 GB, free: 68.76 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.0003512/6.073, allocations: 134.5 kB / 2.276 GB, free: 68.66 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001648/6.075, allocations: 0.7673 MB / 2.277 GB, free: 68.52 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004178/6.075, allocations: 172.1 kB / 2.277 GB, free: 68.43 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/6.077, allocations: 0.9783 MB / 2.278 GB, free: 68.34 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/6.077, allocations: 9.031 kB / 2.278 GB, free: 68.34 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/6.077, allocations: 0.8438 kB / 2.278 GB, free: 68.34 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/6.077, allocations: 3.094 kB / 2.278 GB, free: 68.34 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004144/6.082, allocations: 2.161 MB / 2.28 GB, free: 67.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/6.082, allocations: 1.031 kB / 2.28 GB, free: 67.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005967/6.082, allocations: 135.9 kB / 2.28 GB, free: 67.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/6.082, allocations: 5.781 kB / 2.28 GB, free: 67.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/6.082, allocations: 11.19 kB / 2.28 GB, free: 67.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/6.082, allocations: 10.19 kB / 2.28 GB, free: 67.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/6.082, allocations: 3.344 kB / 2.28 GB, free: 67.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/6.084, allocations: 1.072 MB / 2.281 GB, free: 67.52 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009065/6.085, allocations: 343.3 kB / 2.281 GB, free: 67.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004363/6.085, allocations: 6.016 kB / 2.281 GB, free: 67.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/6.087, allocations: 103.3 kB / 2.281 GB, free: 67.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-05/6.087, allocations: 55.38 kB / 2.281 GB, free: 67.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.795e-05/6.087, allocations: 28.75 kB / 2.282 GB, free: 67.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001524/6.088, allocations: 0.9599 MB / 2.282 GB, free: 67.17 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.62e-07/6.088, allocations: 1.688 kB / 2.282 GB, free: 67.17 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003799/6.092, allocations: 0.9772 MB / 2.283 GB, free: 67.12 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.003613/6.096, allocations: 2.871 MB / 2.286 GB, free: 65.65 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003061/6.099, allocations: 1.504 MB / 2.288 GB, free: 65.62 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/6.099, allocations: 1.125 kB / 2.288 GB, free: 65.62 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004612/6.099, allocations: 364.2 kB / 2.288 GB, free: 65.62 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005298/6.105, allocations: 0.9092 MB / 2.289 GB, free: 65.61 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006883/6.111, allocations: 2.47 MB / 2.291 GB, free: 64.83 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001786/6.113, allocations: 1.447 MB / 2.293 GB, free: 64.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003636/6.117, allocations: 485.2 kB / 2.293 GB, free: 64.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/6.118, allocations: 0.7855 MB / 2.294 GB, free: 64.07 MB / 0.7292 GB Notification: Performance of SimCode: time 1.422e-06/6.118, allocations: 0 / 2.294 GB, free: 64.07 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/6.221, allocations: 53.28 MB / 2.346 GB, free: 61.98 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/6.221, allocations: 209.5 kB / 2.346 GB, free: 61.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.911/10.13, allocations: 2.672 kB / 2.346 GB, free: 61.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)