Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IDEAS_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.008539/0.008539, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8168/0.8168, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.0009206/0.0009203, allocations: 108.9 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003167, allocations: 12 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3231, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.708/1.031, allocations: 391.1 MB / 1.032 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/1.031, allocations: 112.8 kB / 1.032 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.418/5.45, allocations: 1.126 GB / 2.158 GB, free: 62.79 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.906e-06/5.45, allocations: 0 / 2.158 GB, free: 62.79 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0005047/5.45, allocations: 71.53 kB / 2.158 GB, free: 62.79 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.01004/5.46, allocations: 2.736 MB / 2.16 GB, free: 61.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/5.46, allocations: 14 kB / 2.16 GB, free: 61.71 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007792/5.461, allocations: 172.7 kB / 2.161 GB, free: 61.67 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/5.463, allocations: 271.3 kB / 2.161 GB, free: 61.54 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006132/5.469, allocations: 1.624 MB / 2.162 GB, free: 61.08 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001714/5.469, allocations: 110.1 kB / 2.162 GB, free: 61.08 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006414/5.47, allocations: 149.7 kB / 2.163 GB, free: 61.08 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003533/5.473, allocations: 1.147 MB / 2.164 GB, free: 61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.746e-05/5.473, allocations: 0.8438 kB / 2.164 GB, free: 61 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002059/5.473, allocations: 44.84 kB / 2.164 GB, free: 61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/5.473, allocations: 31.81 kB / 2.164 GB, free: 61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002275/5.476, allocations: 1.014 MB / 2.165 GB, free: 60.98 MB / 0.7136 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.01306/5.489, allocations: 6.371 MB / 2.171 GB, free: 58.37 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009901/5.49, allocations: 0.5932 MB / 2.172 GB, free: 58.33 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004009/5.49, allocations: 0.5153 MB / 2.172 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/5.49, allocations: 36.56 kB / 2.172 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002697/5.493, allocations: 474.8 kB / 2.173 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=58): time 9.057e-06/5.493, allocations: 3.375 kB / 2.173 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58): time 0.003059/5.496, allocations: 1.135 MB / 2.174 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/5.496, allocations: 66.56 kB / 2.174 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004031/5.5, allocations: 1.638 MB / 2.175 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002964/5.501, allocations: 52.08 kB / 2.175 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001082/5.502, allocations: 0.9266 MB / 2.176 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/5.502, allocations: 206.9 kB / 2.177 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/5.502, allocations: 18.72 kB / 2.177 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001157/5.502, allocations: 359.4 kB / 2.177 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009082/5.503, allocations: 415 kB / 2.177 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/5.504, allocations: 0.7455 MB / 2.178 GB, free: 56.17 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/5.505, allocations: 0.5033 MB / 2.179 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/5.505, allocations: 2.969 kB / 2.179 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002987/5.508, allocations: 1.343 MB / 2.18 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002535/5.509, allocations: 0.9397 MB / 2.181 GB, free: 54.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/5.509, allocations: 3.938 kB / 2.181 GB, free: 54.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.876e-05/5.509, allocations: 7.812 kB / 2.181 GB, free: 54.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/5.51, allocations: 276.9 kB / 2.181 GB, free: 54.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.971e-05/5.51, allocations: 15.62 kB / 2.181 GB, free: 54.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002733/5.513, allocations: 159.7 kB / 2.181 GB, free: 54.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/5.513, allocations: 60.8 kB / 2.181 GB, free: 54.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/5.513, allocations: 5.656 kB / 2.181 GB, free: 54.98 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002022/5.515, allocations: 1.118 MB / 2.182 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/5.515, allocations: 3.281 kB / 2.182 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/5.515, allocations: 6.656 kB / 2.182 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/5.517, allocations: 281.8 kB / 2.183 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/5.517, allocations: 8.75 kB / 2.183 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002414/5.519, allocations: 166.4 kB / 2.183 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/5.519, allocations: 53.09 kB / 2.183 GB, free: 54.93 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 () * Number of clocked 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.001205/5.521, allocations: 447.9 kB / 2.183 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006639/5.521, allocations: 204.4 kB / 2.183 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002911/5.524, allocations: 1.083 MB / 2.185 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.28e-05/5.524, allocations: 11.86 kB / 2.185 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/5.524, allocations: 0 / 2.185 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/5.524, allocations: 9.531 kB / 2.185 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006485/5.531, allocations: 2.394 MB / 2.187 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/5.531, allocations: 0 / 2.187 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000614/5.531, allocations: 138.4 kB / 2.187 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-05/5.531, allocations: 3.906 kB / 2.187 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.963e-05/5.532, allocations: 20.48 kB / 2.187 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.288e-05/5.532, allocations: 10.91 kB / 2.187 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.419e-05/5.532, allocations: 2.25 kB / 2.187 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/5.534, allocations: 1.183 MB / 2.188 GB, free: 53.67 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/5.535, allocations: 379.4 kB / 2.189 GB, free: 53.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006353/5.536, allocations: 10.59 kB / 2.189 GB, free: 53.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001637/5.537, allocations: 113.1 kB / 2.189 GB, free: 53.45 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/5.537, allocations: 53.47 kB / 2.189 GB, free: 53.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.165e-05/5.537, allocations: 22.31 kB / 2.189 GB, free: 53.45 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002508/5.54, allocations: 1.246 MB / 2.19 GB, free: 53.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/5.54, allocations: 2.156 kB / 2.19 GB, free: 53.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004513/5.544, allocations: 0.989 MB / 2.191 GB, free: 53.21 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 () * 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.003913/5.548, allocations: 2.958 MB / 2.194 GB, free: 51.72 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003098/5.552, allocations: 1.573 MB / 2.195 GB, free: 51.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-05/5.552, allocations: 3.375 kB / 2.195 GB, free: 51.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005985/5.552, allocations: 405.6 kB / 2.196 GB, free: 51.69 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0059/5.558, allocations: 1.121 MB / 2.197 GB, free: 51.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/5.57, allocations: 5.896 MB / 2.203 GB, free: 47.93 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/5.571, allocations: 1.45 MB / 2.204 GB, free: 47.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002639/5.574, allocations: 392.6 kB / 2.204 GB, free: 47.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001404/5.575, allocations: 0.8183 MB / 2.205 GB, free: 47.17 MB / 0.7136 GB Notification: Performance of SimCode: time 1.172e-06/5.575, allocations: 0 / 2.205 GB, free: 47.17 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1079/5.683, allocations: 62.66 MB / 2.266 GB, free: 43.93 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/5.683, allocations: 236.9 kB / 2.267 GB, free: 43.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.229/10.91, allocations: 3.234 kB / 2.267 GB, free: 43.68 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)