Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IDEAS_dev_IDEAS_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.002162/0.002161, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.257/1.257, allocations: 133.6 MB / 141.6 MB, free: 2.914 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.409/2.409, allocations: 221.5 MB / 395.4 MB, free: 10.76 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.001304/0.001304, allocations: 99.08 kB / 478.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.039e-05, allocations: 4 kB / 0.5536 GB, free: 8.922 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.843/0.843, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.484/2.327, allocations: 390.4 MB / 1.015 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003755/2.327, allocations: 99.62 kB / 1.015 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.859/9.187, allocations: 1.117 GB / 2.132 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.034e-06/9.187, allocations: 0 / 2.132 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004869/9.187, allocations: 59.98 kB / 2.132 GB, free: 3.93 MB / 0.7136 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.01044/9.198, allocations: 2.332 MB / 2.134 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 8.558e-05/9.198, allocations: 12.03 kB / 2.134 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001884/9.2, allocations: 269.1 kB / 2.135 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.072/10.27, allocations: 1.588 MB / 2.136 GB, free: 68.24 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002085/10.27, allocations: 39.62 kB / 2.136 GB, free: 68.24 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008793/10.27, allocations: 88.22 kB / 2.136 GB, free: 68.24 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004359/10.28, allocations: 0.9279 MB / 2.137 GB, free: 68.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004258/10.28, allocations: 0.9505 MB / 2.138 GB, free: 68.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.572e-05/10.28, allocations: 0 / 2.138 GB, free: 68.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/10.28, allocations: 0 / 2.138 GB, free: 68.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.335e-05/10.28, allocations: 34.06 kB / 2.138 GB, free: 68.16 MB / 0.7136 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.02206/10.3, allocations: 6.084 MB / 2.144 GB, free: 65.76 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/10.31, allocations: 0.5897 MB / 2.145 GB, free: 65.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/10.31, allocations: 385 kB / 2.145 GB, free: 65.71 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006235/10.31, allocations: 0.5083 MB / 2.146 GB, free: 65.15 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.845e-05/10.31, allocations: 40.78 kB / 2.146 GB, free: 65.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004172/10.31, allocations: 428.3 kB / 2.146 GB, free: 65.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=58): time 4.01e-05/10.31, allocations: 0 / 2.146 GB, free: 65.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58): time 0.003641/10.32, allocations: 0.8173 MB / 2.147 GB, free: 64.95 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/10.32, allocations: 56.59 kB / 2.147 GB, free: 64.89 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003816/10.32, allocations: 1.325 MB / 2.148 GB, free: 64.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004723/10.32, allocations: 29.58 kB / 2.148 GB, free: 64.65 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001289/10.32, allocations: 0.9179 MB / 2.149 GB, free: 64.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003611/10.32, allocations: 197.9 kB / 2.149 GB, free: 64.31 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/10.32, allocations: 0 / 2.149 GB, free: 64.31 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001229/10.32, allocations: 345.9 kB / 2.15 GB, free: 64 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/10.32, allocations: 385.2 kB / 2.15 GB, free: 64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/10.32, allocations: 0.701 MB / 2.151 GB, free: 63.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/10.33, allocations: 496.5 kB / 2.151 GB, free: 63.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/10.33, allocations: 5.828 kB / 2.151 GB, free: 63.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.004354/10.33, allocations: 1.242 MB / 2.152 GB, free: 63.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004507/10.33, allocations: 0.9172 MB / 2.153 GB, free: 62.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/10.33, allocations: 6.266 kB / 2.153 GB, free: 62.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.7e-05/10.33, allocations: 8.156 kB / 2.153 GB, free: 62.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002129/10.33, allocations: 284.6 kB / 2.154 GB, free: 62.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.088e-05/10.33, allocations: 9 kB / 2.154 GB, free: 62.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004081/10.34, allocations: 125.8 kB / 2.154 GB, free: 62.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003202/10.34, allocations: 60.12 kB / 2.154 GB, free: 62.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/10.34, allocations: 3.875 kB / 2.154 GB, free: 62.54 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003264/10.34, allocations: 0.9703 MB / 2.155 GB, free: 62.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/10.34, allocations: 0 / 2.155 GB, free: 62.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/10.34, allocations: 8.406 kB / 2.155 GB, free: 62.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/10.34, allocations: 280.2 kB / 2.155 GB, free: 62.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/10.34, allocations: 7.562 kB / 2.155 GB, free: 62.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003663/10.35, allocations: 129.4 kB / 2.155 GB, free: 62.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002516/10.35, allocations: 61.39 kB / 2.155 GB, free: 62.5 MB / 0.7136 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.0005631/10.35, allocations: 133.1 kB / 2.155 GB, free: 62.39 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002971/10.35, allocations: 0.7744 MB / 2.156 GB, free: 62.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005153/10.35, allocations: 177.4 kB / 2.156 GB, free: 62.15 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003519/10.36, allocations: 0.9645 MB / 2.157 GB, free: 62.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.506e-05/10.36, allocations: 14.41 kB / 2.157 GB, free: 62.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/10.36, allocations: 3.094 kB / 2.157 GB, free: 62.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/10.36, allocations: 10.66 kB / 2.157 GB, free: 62.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006956/10.36, allocations: 2.163 MB / 2.159 GB, free: 61.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/10.36, allocations: 0 / 2.159 GB, free: 61.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/10.36, allocations: 136.7 kB / 2.159 GB, free: 61.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.919e-05/10.36, allocations: 4.438 kB / 2.159 GB, free: 61.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.609e-05/10.36, allocations: 14.38 kB / 2.16 GB, free: 61.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.408e-05/10.36, allocations: 7.25 kB / 2.16 GB, free: 61.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/10.36, allocations: 3.656 kB / 2.16 GB, free: 61.71 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003007/10.37, allocations: 1.06 MB / 2.161 GB, free: 61.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001649/10.37, allocations: 358.1 kB / 2.161 GB, free: 61.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003996/10.37, allocations: 3.625 kB / 2.161 GB, free: 61.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001949/10.37, allocations: 101.2 kB / 2.161 GB, free: 61.05 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/10.37, allocations: 50.17 kB / 2.161 GB, free: 61.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-05/10.37, allocations: 24.7 kB / 2.161 GB, free: 61.05 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002619/10.37, allocations: 0.964 MB / 2.162 GB, free: 60.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.41e-07/10.37, allocations: 0 / 2.162 GB, free: 60.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006556/10.38, allocations: 0.9699 MB / 2.163 GB, free: 60.85 MB / 0.7136 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.007702/10.39, allocations: 2.89 MB / 2.166 GB, free: 59.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00515/10.39, allocations: 1.504 MB / 2.167 GB, free: 59.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/10.39, allocations: 0 / 2.167 GB, free: 59.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/10.39, allocations: 364.1 kB / 2.168 GB, free: 59.35 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00977/10.4, allocations: 0.9103 MB / 2.168 GB, free: 59.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01439/10.42, allocations: 2.481 MB / 2.171 GB, free: 58.56 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001698/10.42, allocations: 1.451 MB / 2.172 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.005409/10.43, allocations: 475.9 kB / 2.173 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002047/10.43, allocations: 0.7959 MB / 2.174 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of SimCode: time 2.014e-06/10.43, allocations: 0 / 2.174 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1676/10.6, allocations: 53.34 MB / 2.226 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003051/10.6, allocations: 197.2 kB / 2.226 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.343/17.94, allocations: 3.938 kB / 2.226 GB, free: 55.45 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)