Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.Examples.ThreeWayValves,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves",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.001839/0.001839, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9141/0.9141, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.442/1.442, allocations: 221.3 MB / 400.4 MB, free: 5.824 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009636/0.0009635, allocations: 91.84 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.818e-05/3.834e-05, allocations: 3.344 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1291, allocations: 82.3 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.052/1.181, allocations: 393 MB / 1.024 GB, free: 229.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003721/1.181, allocations: 101 kB / 1.024 GB, free: 229.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.447/4.628, allocations: 0.9913 GB / 2.016 GB, free: 22.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.403e-06/4.628, allocations: 0 / 2.016 GB, free: 22.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004724/4.628, allocations: 83.97 kB / 2.016 GB, free: 22.69 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.006533/4.635, allocations: 2.57 MB / 2.018 GB, free: 20.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/4.635, allocations: 8.031 kB / 2.018 GB, free: 20.06 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006154/4.636, allocations: 215.5 kB / 2.018 GB, free: 19.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/4.637, allocations: 328.2 kB / 2.019 GB, free: 19.51 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006145/4.643, allocations: 2.457 MB / 2.021 GB, free: 16.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/4.643, allocations: 131 kB / 2.021 GB, free: 16.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004815/4.644, allocations: 179.9 kB / 2.021 GB, free: 16.69 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003304/4.647, allocations: 1.514 MB / 2.023 GB, free: 15.11 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.002e-05/4.647, allocations: 11.92 kB / 2.023 GB, free: 15.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001998/4.648, allocations: 64 kB / 2.023 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.322e-05/4.648, allocations: 40 kB / 2.023 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/4.65, allocations: 1.054 MB / 2.024 GB, free: 13.94 MB / 0.698 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.01101/4.661, allocations: 7.993 MB / 2.032 GB, free: 5.469 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005901/4.661, allocations: 434 kB / 2.032 GB, free: 5.035 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004268/4.662, allocations: 330.8 kB / 2.033 GB, free: 4.711 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004678/4.662, allocations: 0.7563 MB / 2.033 GB, free: 3.789 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/4.662, allocations: 39.12 kB / 2.033 GB, free: 3.742 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 2.675e-06/4.662, allocations: 0 / 2.033 GB, free: 3.742 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.001546/4.664, allocations: 0.7461 MB / 2.034 GB, free: 2.988 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/4.664, allocations: 63.86 kB / 2.034 GB, free: 2.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003454/4.667, allocations: 2.053 MB / 2.036 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001613/4.667, allocations: 53.7 kB / 2.036 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001034/4.668, allocations: 1.159 MB / 2.037 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/4.669, allocations: 216.9 kB / 2.038 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.901e-05/4.669, allocations: 24 kB / 2.038 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001451/4.669, allocations: 345.9 kB / 2.038 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000622/4.67, allocations: 314.6 kB / 2.038 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/4.671, allocations: 0.7766 MB / 2.039 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007879/4.671, allocations: 459.8 kB / 2.039 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/4.671, allocations: 4 kB / 2.039 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002397/4.674, allocations: 1.2 MB / 2.041 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001293/4.675, allocations: 3.207 MB / 2.044 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/4.675, allocations: 8 kB / 2.044 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/4.675, allocations: 12 kB / 2.044 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/4.676, allocations: 259.6 kB / 2.044 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.841e-05/4.676, allocations: 23.92 kB / 2.044 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002404/4.679, allocations: 278 kB / 2.044 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/4.679, allocations: 47.98 kB / 2.044 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/4.679, allocations: 7.938 kB / 2.044 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001691/4.681, allocations: 0.9511 MB / 2.045 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/4.681, allocations: 8 kB / 2.045 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/4.681, allocations: 16 kB / 2.045 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/4.682, allocations: 256.2 kB / 2.046 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.52e-05/4.682, allocations: 15.94 kB / 2.046 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/4.684, allocations: 250.4 kB / 2.046 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/4.684, allocations: 47.98 kB / 2.046 GB, free: 6.449 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 138 * 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.00029/4.684, allocations: 176.9 kB / 2.046 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005917/4.685, allocations: 241 kB / 2.046 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/4.687, allocations: 0.8856 MB / 2.047 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/4.687, allocations: 8 kB / 2.047 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/4.687, allocations: 0 / 2.047 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009997/4.688, allocations: 0.6736 MB / 2.048 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005882/4.694, allocations: 2.644 MB / 2.05 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/4.694, allocations: 0 / 2.05 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006681/4.695, allocations: 147.9 kB / 2.051 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.589e-05/4.695, allocations: 4 kB / 2.051 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.108e-05/4.695, allocations: 23.98 kB / 2.051 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.551e-05/4.695, allocations: 4 kB / 2.051 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/4.695, allocations: 7.875 kB / 2.051 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/4.697, allocations: 1.338 MB / 2.052 GB, free: 124 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.5461/5.243, allocations: 473.1 kB / 2.052 GB, free: 70.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001048/5.244, allocations: 14.34 kB / 2.052 GB, free: 70.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002768/5.247, allocations: 166.7 kB / 2.052 GB, free: 70.51 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/5.247, allocations: 47.45 kB / 2.053 GB, free: 70.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/5.247, allocations: 34.16 kB / 2.053 GB, free: 70.51 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00345/5.251, allocations: 1.563 MB / 2.054 GB, free: 70.35 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.6e-07/5.251, allocations: 0 / 2.054 GB, free: 70.35 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006969/5.258, allocations: 1.215 MB / 2.055 GB, free: 70.35 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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.007676/5.266, allocations: 3.203 MB / 2.058 GB, free: 69.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003493/5.269, allocations: 1.377 MB / 2.06 GB, free: 69.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/5.269, allocations: 1.938 kB / 2.06 GB, free: 69.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005956/5.27, allocations: 318.6 kB / 2.06 GB, free: 69.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009524/5.279, allocations: 1.484 MB / 2.061 GB, free: 69.19 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009031/5.288, allocations: 3.39 MB / 2.065 GB, free: 68.32 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/5.29, allocations: 1.652 MB / 2.066 GB, free: 67.59 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003613/5.294, allocations: 0.727 MB / 2.067 GB, free: 67.57 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/5.295, allocations: 0.9104 MB / 2.068 GB, free: 67.56 MB / 0.7136 GB Notification: Performance of SimCode: time 1.152e-06/5.295, allocations: 0 / 2.068 GB, free: 67.56 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1301/5.425, allocations: 78.95 MB / 2.145 GB, free: 64.11 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/5.425, allocations: 192.7 kB / 2.145 GB, free: 63.89 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.556/10.98, allocations: 4 kB / 2.145 GB, free: 63.88 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)