Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",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.001302/0.001302, allocations: 175.1 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.6963/0.6963, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.409/1.409, allocations: 221.3 MB / 400.4 MB, free: 5.793 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.001012/0.001012, allocations: 94.22 kB / 483.3 MB, free: 5.812 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.168e-05/3.169e-05, allocations: 4.125 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1404, allocations: 82.3 MB / 0.6405 GB, free: 7.715 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.056/1.196, allocations: 356.9 MB / 0.9891 GB, free: 259.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/1.197, allocations: 96.36 kB / 0.9892 GB, free: 259.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4466/1.643, allocations: 240.7 MB / 1.224 GB, free: 21.81 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.124e-06/1.643, allocations: 0 / 1.224 GB, free: 21.81 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.327e-05/1.644, allocations: 27.92 kB / 1.224 GB, free: 21.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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002139/1.646, allocations: 0.9656 MB / 1.225 GB, free: 20.77 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/1.646, allocations: 8.031 kB / 1.225 GB, free: 20.76 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001842/1.646, allocations: 90.52 kB / 1.225 GB, free: 20.66 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002723/1.646, allocations: 90.92 kB / 1.225 GB, free: 20.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/1.647, allocations: 0.5073 MB / 1.226 GB, free: 20.03 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/1.647, allocations: 41 kB / 1.226 GB, free: 19.98 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-05/1.647, allocations: 51.98 kB / 1.226 GB, free: 19.93 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008093/1.648, allocations: 0.5705 MB / 1.227 GB, free: 19.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/1.648, allocations: 0 / 1.227 GB, free: 19.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.727e-05/1.648, allocations: 20 kB / 1.227 GB, free: 19.28 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/1.648, allocations: 12 kB / 1.227 GB, free: 19.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006105/1.649, allocations: 398.8 kB / 1.227 GB, free: 18.88 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.003155/1.652, allocations: 3.212 MB / 1.23 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/1.653, allocations: 294.6 kB / 1.23 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/1.653, allocations: 183.9 kB / 1.231 GB, free: 15 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002673/1.653, allocations: 352.1 kB / 1.231 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/1.653, allocations: 38.56 kB / 1.231 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=38): time 2.295e-06/1.653, allocations: 0 / 1.231 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of matching and sorting (n=38): time 0.0008438/1.654, allocations: 417.4 kB / 1.231 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/1.654, allocations: 59.41 kB / 1.231 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005555/1.655, allocations: 0.5035 MB / 1.232 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.922e-05/1.655, allocations: 37.7 kB / 1.232 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/1.655, allocations: 328.4 kB / 1.232 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.329e-05/1.655, allocations: 142 kB / 1.232 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/1.655, allocations: 15.94 kB / 1.232 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001028/1.655, allocations: 374.7 kB / 1.233 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/1.655, allocations: 161.5 kB / 1.233 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/1.656, allocations: 341.7 kB / 1.233 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/1.656, allocations: 217.5 kB / 1.233 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/1.656, allocations: 0 / 1.233 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009333/1.657, allocations: 0.6057 MB / 1.234 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003824/1.657, allocations: 1.751 MB / 1.236 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/1.658, allocations: 8 kB / 1.236 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005627/1.658, allocations: 136.8 kB / 1.236 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006453/1.659, allocations: 151.8 kB / 1.236 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005346/1.659, allocations: 0.6187 MB / 1.237 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007232/1.66, allocations: 103.4 kB / 1.237 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-05/1.66, allocations: 31.98 kB / 1.237 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/1.66, allocations: 4 kB / 1.237 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007844/1.661, allocations: 0.5098 MB / 1.237 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.661, allocations: 4 kB / 1.237 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/1.661, allocations: 15.95 kB / 1.237 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000563/1.662, allocations: 164.1 kB / 1.237 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/1.662, allocations: 16.06 kB / 1.237 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006239/1.662, allocations: 99.47 kB / 1.238 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.737e-05/1.662, allocations: 31.98 kB / 1.238 GB, free: 7.434 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001445/1.662, allocations: 132.9 kB / 1.238 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/1.663, allocations: 63.16 kB / 1.238 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/1.664, allocations: 0.5691 MB / 1.238 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/1.664, allocations: 7.953 kB / 1.238 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.664, allocations: 0 / 1.238 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/1.664, allocations: 7.984 kB / 1.238 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/1.665, allocations: 1.281 MB / 1.24 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.666, allocations: 3.938 kB / 1.24 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003353/1.666, allocations: 87.88 kB / 1.24 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000353/1.666, allocations: 120.9 kB / 1.24 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/1.666, allocations: 16 kB / 1.24 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004298/1.667, allocations: 0.6226 MB / 1.24 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.667, allocations: 0 / 1.24 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008476/1.668, allocations: 0.6588 MB / 1.241 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/1.668, allocations: 196.1 kB / 1.241 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.463e-05/1.668, allocations: 4 kB / 1.241 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000491/1.668, allocations: 67.94 kB / 1.241 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/1.669, allocations: 39.84 kB / 1.241 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/1.669, allocations: 15.98 kB / 1.241 GB, free: 3.359 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000389/1.669, allocations: 395.2 kB / 1.242 GB, free: 2.977 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.41e-07/1.669, allocations: 4 kB / 1.242 GB, free: 2.973 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001299/1.67, allocations: 415.4 kB / 1.242 GB, free: 2.566 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001919/1.672, allocations: 1.71 MB / 1.244 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001313/1.674, allocations: 0.7799 MB / 1.245 GB, free: 36 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.674, allocations: 0 / 1.245 GB, free: 36 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.3538/2.027, allocations: 239.9 kB / 1.245 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/2.029, allocations: 251 kB / 1.245 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/2.031, allocations: 0.9369 MB / 1.246 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/2.032, allocations: 0.9275 MB / 1.247 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008092/2.033, allocations: 178.9 kB / 1.247 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003183/2.033, allocations: 235.3 kB / 1.247 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of SimCode: time 9.42e-07/2.033, allocations: 0.75 kB / 1.247 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04492/2.078, allocations: 20.35 MB / 1.267 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/2.078, allocations: 234.5 kB / 1.267 GB, free: 174 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.674/4.752, allocations: 0 / 1.267 GB, free: 174 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)