Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 181.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5873/0.5873, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 223.2 MB / 354.3 MB, free: 12.11 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009834/0.0009831, allocations: 92.28 kB / 427.4 MB, free: 3.898 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.000354, allocations: 8 kB / 0.4983 GB, free: 42.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1538, allocations: 72.31 MB / 0.5689 GB, free: 1.781 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.101/1.254, allocations: 381.4 MB / 0.9414 GB, free: 85.44 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/1.255, allocations: 112.4 kB / 0.9415 GB, free: 85.38 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.027/5.281, allocations: 1.126 GB / 2.068 GB, free: 51.57 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.501e-06/5.282, allocations: 3.172 kB / 2.068 GB, free: 51.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003523/5.282, allocations: 74.61 kB / 2.068 GB, free: 51.56 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.008023/5.29, allocations: 2.737 MB / 2.07 GB, free: 50.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/5.29, allocations: 8.469 kB / 2.07 GB, free: 50.25 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003791/5.29, allocations: 179.2 kB / 2.071 GB, free: 50.21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006033/5.291, allocations: 267 kB / 2.071 GB, free: 50.08 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003859/5.295, allocations: 1.629 MB / 2.072 GB, free: 49.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-05/5.295, allocations: 106.4 kB / 2.073 GB, free: 49.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/5.295, allocations: 152 kB / 2.073 GB, free: 49.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/5.297, allocations: 1.146 MB / 2.074 GB, free: 49.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/5.297, allocations: 2.344 kB / 2.074 GB, free: 49.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/5.297, allocations: 49.73 kB / 2.074 GB, free: 49.51 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/5.297, allocations: 29.16 kB / 2.074 GB, free: 49.51 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/5.299, allocations: 1.014 MB / 2.075 GB, free: 49.5 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01037/5.309, allocations: 6.367 MB / 2.081 GB, free: 46.88 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009185/5.31, allocations: 0.5965 MB / 2.082 GB, free: 46.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003688/5.311, allocations: 0.5146 MB / 2.082 GB, free: 46.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/5.311, allocations: 38.09 kB / 2.082 GB, free: 46.23 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002384/5.313, allocations: 474.1 kB / 2.083 GB, free: 46.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=58): time 6.342e-06/5.313, allocations: 0 / 2.083 GB, free: 46.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=58): time 0.00207/5.315, allocations: 1.14 MB / 2.084 GB, free: 46.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/5.315, allocations: 69.27 kB / 2.084 GB, free: 45.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/5.318, allocations: 1.64 MB / 2.085 GB, free: 45.75 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001488/5.318, allocations: 53.39 kB / 2.085 GB, free: 45.71 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007345/5.318, allocations: 0.9323 MB / 2.086 GB, free: 45.45 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/5.319, allocations: 206.3 kB / 2.087 GB, free: 45.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.035e-05/5.319, allocations: 22.72 kB / 2.087 GB, free: 45.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001032/5.319, allocations: 347.2 kB / 2.087 GB, free: 45.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006588/5.319, allocations: 403.2 kB / 2.087 GB, free: 45.01 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008642/5.32, allocations: 0.7443 MB / 2.088 GB, free: 44.67 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007463/5.321, allocations: 499.8 kB / 2.089 GB, free: 44.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/5.321, allocations: 0 / 2.089 GB, free: 44.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002179/5.323, allocations: 1.316 MB / 2.09 GB, free: 44.49 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002661/5.324, allocations: 0.9309 MB / 2.091 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/5.324, allocations: 3.875 kB / 2.091 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.098e-05/5.324, allocations: 9.031 kB / 2.091 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/5.325, allocations: 274 kB / 2.091 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/5.325, allocations: 9.125 kB / 2.091 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002139/5.327, allocations: 168.1 kB / 2.091 GB, free: 43.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/5.327, allocations: 66.47 kB / 2.091 GB, free: 43.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/5.327, allocations: 4.594 kB / 2.091 GB, free: 43.48 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001688/5.329, allocations: 1.087 MB / 2.092 GB, free: 43.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/5.329, allocations: 4.375 kB / 2.092 GB, free: 43.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.296e-06/5.329, allocations: 7.406 kB / 2.092 GB, free: 43.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/5.33, allocations: 268.4 kB / 2.093 GB, free: 43.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/5.33, allocations: 7.969 kB / 2.093 GB, free: 43.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/5.332, allocations: 161.7 kB / 2.093 GB, free: 43.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/5.332, allocations: 56.55 kB / 2.093 GB, free: 43.44 MB / 0.6355 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 140 * 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.001103/5.333, allocations: 451.4 kB / 2.093 GB, free: 43.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003179/5.334, allocations: 210.8 kB / 2.093 GB, free: 43.13 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/5.336, allocations: 1.083 MB / 2.094 GB, free: 43.04 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/5.336, allocations: 6.75 kB / 2.094 GB, free: 43.04 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/5.336, allocations: 0 / 2.094 GB, free: 43.04 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/5.336, allocations: 9.281 kB / 2.094 GB, free: 43.04 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003859/5.339, allocations: 2.399 MB / 2.097 GB, free: 42.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/5.34, allocations: 2.312 kB / 2.097 GB, free: 42.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005706/5.34, allocations: 137 kB / 2.097 GB, free: 42.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/5.34, allocations: 3.906 kB / 2.097 GB, free: 42.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/5.34, allocations: 16.5 kB / 2.097 GB, free: 42.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.266e-06/5.34, allocations: 10.91 kB / 2.097 GB, free: 42.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/5.34, allocations: 1.594 kB / 2.097 GB, free: 42.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/5.342, allocations: 1.172 MB / 2.098 GB, free: 42.17 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/5.343, allocations: 374.7 kB / 2.098 GB, free: 41.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/5.343, allocations: 19.12 kB / 2.098 GB, free: 41.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/5.344, allocations: 113.5 kB / 2.099 GB, free: 41.95 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/5.344, allocations: 58.75 kB / 2.099 GB, free: 41.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.951e-05/5.344, allocations: 24.77 kB / 2.099 GB, free: 41.94 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001907/5.346, allocations: 1.246 MB / 2.1 GB, free: 41.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/5.346, allocations: 1.781 kB / 2.1 GB, free: 41.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003265/5.35, allocations: 0.9683 MB / 2.101 GB, free: 41.71 MB / 0.6355 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 () * Number of clocked 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.003957/5.354, allocations: 2.963 MB / 2.104 GB, free: 40.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002931/5.356, allocations: 1.542 MB / 2.105 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/5.356, allocations: 0 / 2.105 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005881/5.357, allocations: 401.3 kB / 2.106 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005959/5.363, allocations: 1.119 MB / 2.107 GB, free: 40.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007876/5.371, allocations: 5.878 MB / 2.112 GB, free: 36.44 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008461/5.372, allocations: 1.452 MB / 2.114 GB, free: 35.71 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002181/5.374, allocations: 402.3 kB / 2.114 GB, free: 35.64 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/5.375, allocations: 0.8206 MB / 2.115 GB, free: 35.63 MB / 0.6355 GB Notification: Performance of SimCode: time 1.172e-06/5.375, allocations: 6.281 kB / 2.115 GB, free: 35.62 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09765/5.473, allocations: 62.59 MB / 2.176 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/5.473, allocations: 241.2 kB / 2.176 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.767/10.24, allocations: 64 / 2.176 GB, free: 22.82 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)