Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValves",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.00217/0.00217, 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.7648/0.7648, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.47/1.47, allocations: 221.3 MB / 400.4 MB, free: 5.844 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.0008399/0.0008401, allocations: 83.89 kB / 483.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.97e-05/4.974e-05, allocations: 2.875 kB / 0.5601 GB, free: 87.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1603, allocations: 82.3 MB / 0.6405 GB, free: 7.75 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.233/1.393, allocations: 361.5 MB / 0.9935 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/1.393, allocations: 95.23 kB / 0.9936 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.256/2.65, allocations: 437.8 MB / 1.421 GB, free: 77.82 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.263e-06/2.65, allocations: 192 / 1.421 GB, free: 77.82 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000172/2.65, allocations: 39.92 kB / 1.421 GB, free: 77.78 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003476/2.653, allocations: 1.318 MB / 1.422 GB, free: 76.41 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/2.653, allocations: 12.03 kB / 1.422 GB, free: 76.4 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002505/2.654, allocations: 98.5 kB / 1.423 GB, free: 76.29 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000701/2.654, allocations: 158.4 kB / 1.423 GB, free: 76.14 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00237/2.657, allocations: 0.8214 MB / 1.423 GB, free: 75.26 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.142e-05/2.657, allocations: 81.31 kB / 1.424 GB, free: 75.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/2.657, allocations: 124 kB / 1.424 GB, free: 75.06 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000864/2.658, allocations: 0.5889 MB / 1.424 GB, free: 74.44 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/2.658, allocations: 8 kB / 1.424 GB, free: 74.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.714e-05/2.658, allocations: 27.94 kB / 1.424 GB, free: 74.41 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/2.658, allocations: 15.95 kB / 1.424 GB, free: 74.39 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005631/2.659, allocations: 413 kB / 1.425 GB, free: 73.99 MB / 0.6823 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.00421/2.663, allocations: 3.094 MB / 1.428 GB, free: 70.75 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004314/2.663, allocations: 310.2 kB / 1.428 GB, free: 70.43 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/2.663, allocations: 133.4 kB / 1.428 GB, free: 70.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002631/2.664, allocations: 344.7 kB / 1.428 GB, free: 69.89 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/2.664, allocations: 42.84 kB / 1.429 GB, free: 69.84 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.264e-06/2.664, allocations: 0 / 1.429 GB, free: 69.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.0007768/2.665, allocations: 402.5 kB / 1.429 GB, free: 69.44 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/2.665, allocations: 55.41 kB / 1.429 GB, free: 69.38 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007346/2.665, allocations: 0.7701 MB / 1.43 GB, free: 68.59 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/2.665, allocations: 61.7 kB / 1.43 GB, free: 68.52 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/2.666, allocations: 0.5384 MB / 1.43 GB, free: 67.96 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.297e-05/2.666, allocations: 114.4 kB / 1.43 GB, free: 67.85 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/2.666, allocations: 12 kB / 1.43 GB, free: 67.84 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.275e-05/2.666, allocations: 330 kB / 1.431 GB, free: 67.51 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/2.666, allocations: 157.5 kB / 1.431 GB, free: 67.36 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/2.667, allocations: 1.402 MB / 1.432 GB, free: 65.56 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/2.668, allocations: 293.6 kB / 1.433 GB, free: 65.28 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/2.668, allocations: 0 / 1.433 GB, free: 65.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008882/2.669, allocations: 0.6109 MB / 1.433 GB, free: 64.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001622/2.669, allocations: 0.806 MB / 1.434 GB, free: 63.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/2.669, allocations: 7.938 kB / 1.434 GB, free: 63.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/2.669, allocations: 4 kB / 1.434 GB, free: 63.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/2.67, allocations: 199.7 kB / 1.434 GB, free: 63.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/2.671, allocations: 2.958 MB / 1.437 GB, free: 60.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00347/2.675, allocations: 0.9055 MB / 1.438 GB, free: 59.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-05/2.675, allocations: 35.97 kB / 1.438 GB, free: 59.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/2.675, allocations: 9.25 kB / 1.438 GB, free: 59.56 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007014/2.675, allocations: 465.1 kB / 1.438 GB, free: 59.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/2.675, allocations: 7.938 kB / 1.438 GB, free: 59.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.336e-06/2.675, allocations: 4 kB / 1.438 GB, free: 59.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006192/2.676, allocations: 159.8 kB / 1.439 GB, free: 58.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/2.676, allocations: 4 kB / 1.439 GB, free: 58.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003322/2.679, allocations: 0.9057 MB / 1.439 GB, free: 58.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.545e-05/2.679, allocations: 31.98 kB / 1.439 GB, free: 58 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000247/2.68, allocations: 161.8 kB / 1.44 GB, free: 57.83 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/2.68, allocations: 98.78 kB / 1.44 GB, free: 57.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009586/2.681, allocations: 0.4991 MB / 1.44 GB, free: 57.23 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/2.681, allocations: 4.188 kB / 1.44 GB, free: 57.22 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/2.681, allocations: 0 / 1.44 GB, free: 57.22 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/2.681, allocations: 7.938 kB / 1.44 GB, free: 57.21 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/2.683, allocations: 1.233 MB / 1.441 GB, free: 55.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/2.683, allocations: 0 / 1.441 GB, free: 55.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005168/2.683, allocations: 123.8 kB / 1.442 GB, free: 55.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/2.683, allocations: 3.953 kB / 1.442 GB, free: 55.79 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/2.683, allocations: 15.94 kB / 1.442 GB, free: 55.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008604/2.684, allocations: 2.942 MB / 1.444 GB, free: 52.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/2.684, allocations: 7.984 kB / 1.444 GB, free: 52.71 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005584/2.685, allocations: 0.5835 MB / 1.445 GB, free: 52.07 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000353/2.685, allocations: 227.6 kB / 1.445 GB, free: 51.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.089e-05/2.685, allocations: 12 kB / 1.445 GB, free: 51.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005787/2.686, allocations: 67.86 kB / 1.445 GB, free: 51.75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.143e-05/2.686, allocations: 31.91 kB / 1.445 GB, free: 51.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/2.686, allocations: 15.98 kB / 1.445 GB, free: 51.71 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006002/2.686, allocations: 0.5858 MB / 1.446 GB, free: 51.11 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/2.686, allocations: 0 / 1.446 GB, free: 51.11 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002007/2.688, allocations: 0.6165 MB / 1.447 GB, free: 50.49 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001683/2.69, allocations: 1.824 MB / 1.448 GB, free: 48.62 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002219/2.692, allocations: 0.7707 MB / 1.449 GB, free: 47.84 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/2.692, allocations: 128 / 1.449 GB, free: 47.84 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004252/2.693, allocations: 211.7 kB / 1.449 GB, free: 47.64 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/2.695, allocations: 474.5 kB / 1.45 GB, free: 47.18 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/2.698, allocations: 1.324 MB / 1.451 GB, free: 45.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/2.698, allocations: 1.052 MB / 1.452 GB, free: 44.72 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00122/2.699, allocations: 270.8 kB / 1.452 GB, free: 44.45 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003326/2.7, allocations: 351.3 kB / 1.453 GB, free: 44.11 MB / 0.6823 GB Notification: Performance of SimCode: time 8.61e-07/2.7, allocations: 0 / 1.453 GB, free: 44.11 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06353/2.763, allocations: 38.51 MB / 1.49 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/2.764, allocations: 211.3 kB / 1.49 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.251/6.015, allocations: 0 / 1.49 GB, free: 5.906 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValves.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)