Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.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.FixedResistances.Examples.CheckValve,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_CheckValve",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.007439/0.00744, allocations: 169.2 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8143/0.8143, allocations: 135.2 MB / 151 MB, free: 13.84 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.642/1.642, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.001012/0.001012, allocations: 99.77 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004295, allocations: 12 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6318/0.6322, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.092/1.725, allocations: 352.7 MB / 0.9939 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004483/1.725, allocations: 86.33 kB / 0.994 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.144/2.869, allocations: 257.4 MB / 1.245 GB, free: 77.99 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.955e-06/2.869, allocations: 0 / 1.245 GB, free: 77.99 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.196e-05/2.869, allocations: 19.98 kB / 1.245 GB, free: 77.97 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.002309/2.871, allocations: 0.9306 MB / 1.246 GB, free: 76.99 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.938e-05/2.871, allocations: 8.031 kB / 1.246 GB, free: 76.98 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.667e-05/2.872, allocations: 62.53 kB / 1.246 GB, free: 76.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/2.872, allocations: 67.25 kB / 1.246 GB, free: 76.85 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008966/2.873, allocations: 475.4 kB / 1.247 GB, free: 76.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.874e-05/2.873, allocations: 32.64 kB / 1.247 GB, free: 76.31 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.347e-05/2.873, allocations: 40 kB / 1.247 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000633/2.873, allocations: 298 kB / 1.247 GB, free: 75.97 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/2.873, allocations: 0 / 1.247 GB, free: 75.97 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/2.873, allocations: 16 kB / 1.247 GB, free: 75.96 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/2.873, allocations: 8 kB / 1.247 GB, free: 75.95 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006442/2.874, allocations: 274.4 kB / 1.248 GB, free: 75.68 MB / 0.6823 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.002068/2.876, allocations: 1.325 MB / 1.249 GB, free: 74.24 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006461/2.877, allocations: 283 kB / 1.249 GB, free: 73.95 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004785/2.877, allocations: 0.4947 MB / 1.25 GB, free: 73.35 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/2.877, allocations: 38.56 kB / 1.25 GB, free: 73.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 2.796e-06/2.877, allocations: 4 kB / 1.25 GB, free: 73.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.001755/2.879, allocations: 0.5682 MB / 1.25 GB, free: 72.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/2.879, allocations: 55.41 kB / 1.25 GB, free: 72.64 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/2.88, allocations: 409.2 kB / 1.251 GB, free: 72.23 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/2.88, allocations: 33.7 kB / 1.251 GB, free: 72.19 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/2.88, allocations: 248.8 kB / 1.251 GB, free: 71.94 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/2.88, allocations: 86.69 kB / 1.251 GB, free: 71.86 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.658e-05/2.88, allocations: 8 kB / 1.251 GB, free: 71.85 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001121/2.88, allocations: 354.8 kB / 1.251 GB, free: 71.49 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/2.88, allocations: 119.7 kB / 1.251 GB, free: 71.38 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/2.881, allocations: 230.9 kB / 1.252 GB, free: 71.11 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/2.881, allocations: 144.8 kB / 1.252 GB, free: 70.97 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/2.881, allocations: 4 kB / 1.252 GB, free: 70.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008074/2.882, allocations: 413.7 kB / 1.252 GB, free: 70.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/2.882, allocations: 278.9 kB / 1.252 GB, free: 70.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/2.882, allocations: 0 / 1.252 GB, free: 70.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002616/2.882, allocations: 40.83 kB / 1.252 GB, free: 70.22 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/2.883, allocations: 75.89 kB / 1.253 GB, free: 70.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003759/2.883, allocations: 0.5563 MB / 1.253 GB, free: 69.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005439/2.884, allocations: 87.61 kB / 1.253 GB, free: 69.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/2.884, allocations: 8 kB / 1.253 GB, free: 69.47 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/2.884, allocations: 5.094 kB / 1.253 GB, free: 69.46 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006254/2.884, allocations: 319.5 kB / 1.254 GB, free: 69.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-06/2.884, allocations: 0 / 1.254 GB, free: 69.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.946e-06/2.884, allocations: 0 / 1.254 GB, free: 69.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/2.885, allocations: 87.88 kB / 1.254 GB, free: 69.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/2.885, allocations: 4 kB / 1.254 GB, free: 69.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004283/2.885, allocations: 67.64 kB / 1.254 GB, free: 69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/2.885, allocations: 19.98 kB / 1.254 GB, free: 68.98 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 33 * 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.0002611/2.885, allocations: 241.6 kB / 1.254 GB, free: 68.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.768e-05/2.885, allocations: 63.28 kB / 1.254 GB, free: 68.67 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008726/2.886, allocations: 426.4 kB / 1.254 GB, free: 68.24 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/2.886, allocations: 3.984 kB / 1.254 GB, free: 68.24 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/2.886, allocations: 8 kB / 1.254 GB, free: 68.23 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/2.886, allocations: 0 / 1.254 GB, free: 68.23 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/2.888, allocations: 0.953 MB / 1.255 GB, free: 67.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/2.888, allocations: 0 / 1.255 GB, free: 67.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/2.888, allocations: 60.03 kB / 1.255 GB, free: 67.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001612/2.888, allocations: 40.83 kB / 1.255 GB, free: 67.11 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/2.888, allocations: 11.98 kB / 1.255 GB, free: 67.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002877/2.889, allocations: 0.56 MB / 1.256 GB, free: 66.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/2.889, allocations: 7.891 kB / 1.256 GB, free: 66.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006992/2.889, allocations: 0.5334 MB / 1.257 GB, free: 65.91 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/2.889, allocations: 168.3 kB / 1.257 GB, free: 65.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.582e-05/2.889, allocations: 7.938 kB / 1.257 GB, free: 65.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/2.89, allocations: 47.89 kB / 1.257 GB, free: 65.67 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.571e-05/2.89, allocations: 19.97 kB / 1.257 GB, free: 65.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/2.89, allocations: 12 kB / 1.257 GB, free: 65.64 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003084/2.89, allocations: 318.9 kB / 1.257 GB, free: 65.33 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/2.89, allocations: 0 / 1.257 GB, free: 65.33 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009249/2.891, allocations: 275.6 kB / 1.257 GB, free: 65.06 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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: 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 Backend phase and start with SimCode phase: time 0.001771/2.893, allocations: 1.638 MB / 1.259 GB, free: 63.38 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001115/2.894, allocations: 475.5 kB / 1.259 GB, free: 62.91 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/2.894, allocations: 0 / 1.259 GB, free: 62.91 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003583/2.895, allocations: 179.8 kB / 1.26 GB, free: 62.74 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/2.896, allocations: 247.2 kB / 1.26 GB, free: 62.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/2.898, allocations: 1.645 MB / 1.261 GB, free: 60.78 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/2.898, allocations: 0.8746 MB / 1.262 GB, free: 59.88 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004519/2.899, allocations: 108.3 kB / 1.262 GB, free: 59.77 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/2.899, allocations: 175.4 kB / 1.263 GB, free: 59.6 MB / 0.6823 GB Notification: Performance of SimCode: time 7.92e-07/2.899, allocations: 0 / 1.263 GB, free: 59.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03774/2.937, allocations: 16.13 MB / 1.278 GB, free: 43.78 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002654/2.937, allocations: 237.7 kB / 1.278 GB, free: 43.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.095/6.032, allocations: 0 / 1.278 GB, free: 43.54 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_CheckValve.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)