Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Delays.Examples.Delay.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.Delays.Examples.Delay,fileNamePrefix="IDEAS_IDEAS_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Delays.Examples.Delay,fileNamePrefix="IDEAS_IDEAS_Fluid_Delays_Examples_Delay",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.000979/0.000979, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7682/0.7682, allocations: 133.6 MB / 141.6 MB, free: 2.887 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 221.5 MB / 395.4 MB, free: 10.81 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.001013, allocations: 106.5 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.19e-05/2.207e-05, allocations: 4 kB / 0.5535 GB, free: 8.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4651/0.4651, allocations: 82.3 MB / 0.6339 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.769/5.234, allocations: 1.885 GB / 2.519 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/5.234, allocations: 91.06 kB / 2.519 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.822/7.056, allocations: 483.4 MB / 2.991 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.714e-06/7.056, allocations: 3.938 kB / 2.991 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.978e-05/7.056, allocations: 15.19 kB / 2.991 GB, free: 159.2 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.002429/7.059, allocations: 0.9776 MB / 2.992 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/7.059, allocations: 7.25 kB / 2.992 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/7.06, allocations: 202.9 kB / 2.992 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/7.062, allocations: 0.6318 MB / 2.993 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/7.062, allocations: 21.25 kB / 2.993 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/7.062, allocations: 26.03 kB / 2.993 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007217/7.063, allocations: 363.8 kB / 2.993 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00075/7.064, allocations: 400.5 kB / 2.994 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/7.064, allocations: 7.344 kB / 2.994 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.381e-05/7.064, allocations: 0 / 2.994 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-05/7.064, allocations: 21.11 kB / 2.994 GB, free: 158.4 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.002997/7.067, allocations: 1.897 MB / 2.996 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004963/7.067, allocations: 304.2 kB / 2.996 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/7.068, allocations: 176.1 kB / 2.996 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003244/7.068, allocations: 192.6 kB / 2.996 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/7.068, allocations: 38 kB / 2.996 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 1.854e-06/7.068, allocations: 3.312 kB / 2.996 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.0009692/7.069, allocations: 365.6 kB / 2.997 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/7.069, allocations: 53.91 kB / 2.997 GB, free: 157 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004847/7.069, allocations: 379.3 kB / 2.997 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.991e-05/7.069, allocations: 25.7 kB / 2.997 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/7.07, allocations: 317.3 kB / 2.997 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/7.07, allocations: 113.1 kB / 2.997 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.725e-05/7.07, allocations: 0 / 2.997 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001372/7.07, allocations: 359.9 kB / 2.998 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/7.07, allocations: 116.9 kB / 2.998 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/7.07, allocations: 200.2 kB / 2.998 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/7.071, allocations: 147.3 kB / 2.998 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/7.071, allocations: 0 / 2.998 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005577/7.071, allocations: 361.1 kB / 2.999 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001244/7.071, allocations: 368.6 kB / 2.999 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/7.071, allocations: 7.25 kB / 2.999 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/7.071, allocations: 0 / 2.999 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/7.072, allocations: 79.81 kB / 2.999 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/7.072, allocations: 3.031 kB / 2.999 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006559/7.073, allocations: 50.11 kB / 2.999 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/7.073, allocations: 15.16 kB / 2.999 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/7.073, allocations: 3.562 kB / 2.999 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004239/7.073, allocations: 275 kB / 2.999 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/7.073, allocations: 0.8125 kB / 2.999 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.74e-06/7.073, allocations: 2.625 kB / 2.999 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/7.073, allocations: 76.7 kB / 2.999 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/7.073, allocations: 0 / 2.999 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005728/7.074, allocations: 54.48 kB / 2.999 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/7.074, allocations: 18.86 kB / 2.999 GB, free: 155.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (39): * Single equations (assignments): 39 * 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.0001288/7.074, allocations: 114.3 kB / 3 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000458/7.075, allocations: 334.4 kB / 3 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.731e-05/7.075, allocations: 53.28 kB / 3 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005026/7.075, allocations: 361.9 kB / 3 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/7.075, allocations: 3.469 kB / 3 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/7.075, allocations: 3.5 kB / 3 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003608/7.076, allocations: 383.4 kB / 3.001 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/7.077, allocations: 1.038 MB / 3.002 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/7.077, allocations: 7.719 kB / 3.002 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00042/7.077, allocations: 89.05 kB / 3.002 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/7.077, allocations: 7.922 kB / 3.002 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/7.078, allocations: 7.094 kB / 3.002 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/7.078, allocations: 5.344 kB / 3.002 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/7.078, allocations: 3.781 kB / 3.002 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007809/7.078, allocations: 0.7117 MB / 3.002 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/7.079, allocations: 180.5 kB / 3.003 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.654e-05/7.079, allocations: 7.734 kB / 3.003 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005308/7.079, allocations: 48.7 kB / 3.003 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/7.079, allocations: 26.2 kB / 3.003 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/7.079, allocations: 12.41 kB / 3.003 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002949/7.08, allocations: 295.3 kB / 3.003 GB, free: 154 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/7.08, allocations: 0 / 3.003 GB, free: 154 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001195/7.081, allocations: 400.9 kB / 3.003 GB, free: 153.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00306/7.084, allocations: 2.998 MB / 3.006 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006958/7.085, allocations: 460.2 kB / 3.007 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/7.085, allocations: 6.438 kB / 3.007 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/7.085, allocations: 158.1 kB / 3.007 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/7.086, allocations: 328 kB / 3.007 GB, free: 152 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/7.089, allocations: 1.105 MB / 3.008 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/7.089, allocations: 0.9484 MB / 3.009 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008236/7.09, allocations: 215 kB / 3.009 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/7.09, allocations: 213.6 kB / 3.01 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of SimCode: time 4.91e-07/7.09, allocations: 0 / 3.01 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06922/7.159, allocations: 25.25 MB / 3.034 GB, free: 129 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/7.16, allocations: 137.1 kB / 3.034 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.955/10.11, allocations: 4 kB / 3.034 GB, free: 128.8 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe ; mkfifo IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe >> ../files/IDEAS_IDEAS.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Delays_Examples_Delay.fmu > IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1)