Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.ThreeWayValveParameterization,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",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.6917/0.6917, allocations: 127.4 MB / 134.9 MB, free: 3.715 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.00131/0.00131, allocations: 176.9 kB / 164.6 MB, free: 6.527 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.48/1.48, allocations: 205.2 MB / 399.5 MB, free: 5.879 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.0009712/0.0009711, allocations: 93.25 kB / 476.7 MB, free: 8.609 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.178e-05/2.181e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1684, allocations: 76.75 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.226/1.395, allocations: 392 MB / 1.004 GB, free: 128.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/1.395, allocations: 101.7 kB / 1.005 GB, free: 128.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.818/5.213, allocations: 1.059 GB / 2.064 GB, free: 57.01 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.654e-06/5.213, allocations: 0 / 2.064 GB, free: 57.01 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002314/5.213, allocations: 69.25 kB / 2.064 GB, free: 56.99 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.004704/5.218, allocations: 2.258 MB / 2.066 GB, free: 55.62 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/5.218, allocations: 11 kB / 2.066 GB, free: 55.62 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005686/5.219, allocations: 253.3 kB / 2.066 GB, free: 55.49 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003166/5.222, allocations: 1.568 MB / 2.068 GB, free: 54.42 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.153e-05/5.222, allocations: 46.8 kB / 2.068 GB, free: 54.41 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/5.222, allocations: 85.59 kB / 2.068 GB, free: 54.41 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001538/5.224, allocations: 0.8981 MB / 2.069 GB, free: 53.99 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/5.225, allocations: 0.9237 MB / 2.07 GB, free: 53.48 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/5.225, allocations: 3.875 kB / 2.07 GB, free: 53.48 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.841e-05/5.225, allocations: 0 / 2.07 GB, free: 53.48 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/5.225, allocations: 25.97 kB / 2.07 GB, free: 53.48 MB / 0.6667 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.009468/5.235, allocations: 6.4 MB / 2.076 GB, free: 48.02 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007912/5.236, allocations: 0.5518 MB / 2.077 GB, free: 47.73 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/5.236, allocations: 321.9 kB / 2.077 GB, free: 47.57 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.794e-05/5.236, allocations: 25.02 kB / 2.077 GB, free: 47.56 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/5.236, allocations: 38.75 kB / 2.077 GB, free: 47.51 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001833/5.238, allocations: 423.5 kB / 2.078 GB, free: 47.33 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=49): time 2.916e-06/5.238, allocations: 0 / 2.078 GB, free: 47.33 MB / 0.6667 GB Notification: Performance of matching and sorting (n=49): time 0.002939/5.241, allocations: 1.046 MB / 2.079 GB, free: 46.82 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/5.241, allocations: 60.94 kB / 2.079 GB, free: 46.75 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/5.242, allocations: 1.279 MB / 2.08 GB, free: 46.06 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/5.242, allocations: 29.45 kB / 2.08 GB, free: 46.03 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004941/5.243, allocations: 0.9218 MB / 2.081 GB, free: 45.21 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/5.243, allocations: 160.5 kB / 2.081 GB, free: 45.07 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.907e-05/5.243, allocations: 3.938 kB / 2.081 GB, free: 45.07 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.606e-05/5.243, allocations: 349.6 kB / 2.081 GB, free: 44.73 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005454/5.244, allocations: 419.6 kB / 2.082 GB, free: 44.54 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007167/5.244, allocations: 0.7306 MB / 2.082 GB, free: 43.93 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008728/5.245, allocations: 0.5074 MB / 2.083 GB, free: 43.66 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/5.245, allocations: 7.797 kB / 2.083 GB, free: 43.66 MB / 0.6667 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001984/5.247, allocations: 1.303 MB / 2.084 GB, free: 43.01 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001686/5.248, allocations: 0.9247 MB / 2.085 GB, free: 42.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/5.248, allocations: 3.812 kB / 2.085 GB, free: 42.03 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/5.248, allocations: 7.625 kB / 2.085 GB, free: 42.03 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/5.249, allocations: 343.5 kB / 2.085 GB, free: 41.93 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/5.249, allocations: 3.781 kB / 2.085 GB, free: 41.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002009/5.251, allocations: 209.7 kB / 2.086 GB, free: 41.85 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/5.251, allocations: 63.16 kB / 2.086 GB, free: 41.82 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/5.251, allocations: 7.406 kB / 2.086 GB, free: 41.82 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001362/5.253, allocations: 0.9351 MB / 2.087 GB, free: 40.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/5.253, allocations: 4.25 kB / 2.087 GB, free: 40.95 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/5.253, allocations: 12 kB / 2.087 GB, free: 40.94 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/5.254, allocations: 271.5 kB / 2.087 GB, free: 40.67 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/5.254, allocations: 8 kB / 2.087 GB, free: 40.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/5.255, allocations: 119.7 kB / 2.087 GB, free: 40.55 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-05/5.255, allocations: 55.95 kB / 2.087 GB, free: 40.49 MB / 0.6667 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 (143): * Single equations (assignments): 143 * 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.0002313/5.255, allocations: 132.7 kB / 2.087 GB, free: 40.36 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00111/5.257, allocations: 0.7868 MB / 2.088 GB, free: 39.56 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/5.257, allocations: 169.8 kB / 2.088 GB, free: 39.39 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/5.258, allocations: 0.8834 MB / 2.089 GB, free: 38.5 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/5.258, allocations: 8 kB / 2.089 GB, free: 38.49 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/5.258, allocations: 0 / 2.089 GB, free: 38.49 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/5.258, allocations: 11.94 kB / 2.089 GB, free: 38.48 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/5.26, allocations: 1.172 MB / 2.09 GB, free: 37.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/5.26, allocations: 7.938 kB / 2.09 GB, free: 37.27 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008809/5.261, allocations: 183.7 kB / 2.09 GB, free: 37.09 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/5.261, allocations: 0 / 2.09 GB, free: 37.09 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.116e-05/5.261, allocations: 7.984 kB / 2.09 GB, free: 37.08 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/5.261, allocations: 6.062 kB / 2.09 GB, free: 37.08 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/5.261, allocations: 0 / 2.09 GB, free: 37.08 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009761/5.262, allocations: 0.889 MB / 2.091 GB, free: 36.17 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003147/5.262, allocations: 258.8 kB / 2.091 GB, free: 35.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/5.262, allocations: 4 kB / 2.091 GB, free: 35.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/5.264, allocations: 147.7 kB / 2.092 GB, free: 35.75 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.381e-05/5.264, allocations: 40.44 kB / 2.092 GB, free: 35.71 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.671e-05/5.264, allocations: 31.98 kB / 2.092 GB, free: 35.68 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009943/5.265, allocations: 0.9312 MB / 2.093 GB, free: 34.73 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/5.265, allocations: 0 / 2.093 GB, free: 34.73 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002319/5.267, allocations: 0.9551 MB / 2.093 GB, free: 33.77 MB / 0.6667 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 (61): * Single equations (assignments): 61 * 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 Backend phase and start with SimCode phase: time 0.002435/5.27, allocations: 2.351 MB / 2.096 GB, free: 31.52 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001953/5.272, allocations: 1.516 MB / 2.097 GB, free: 30 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/5.272, allocations: 0 / 2.097 GB, free: 30 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003808/5.272, allocations: 338 kB / 2.098 GB, free: 29.67 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004346/5.276, allocations: 0.9192 MB / 2.098 GB, free: 28.78 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02495/5.301, allocations: 4.611 MB / 2.103 GB, free: 24.12 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006909/5.302, allocations: 1.396 MB / 2.104 GB, free: 22.7 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002217/5.304, allocations: 462.7 kB / 2.105 GB, free: 22.28 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008988/5.305, allocations: 0.7765 MB / 2.106 GB, free: 21.5 MB / 0.6667 GB Notification: Performance of SimCode: time 6.71e-07/5.305, allocations: 0 / 2.106 GB, free: 21.5 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4904/5.796, allocations: 55.68 MB / 2.16 GB, free: 74.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/5.796, allocations: 203.4 kB / 2.16 GB, free: 74.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.982/9.778, allocations: 0 / 2.16 GB, free: 74.34 MB / 0.6823 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)