Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Delays.Examples.Delay,fileNamePrefix="IDEAS_dev_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.002484/0.002484, allocations: 172.5 kB / 7.647 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 1.131/1.131, allocations: 133.6 MB / 141.6 MB, free: 2.891 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.559/2.559, allocations: 221.5 MB / 395.4 MB, free: 10.84 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.001185/0.001185, allocations: 103.9 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.229e-05/2.231e-05, allocations: 0 / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7117/0.7117, allocations: 82.3 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.338/9.05, allocations: 1.885 GB / 2.519 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/9.05, allocations: 84.02 kB / 2.519 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.153/12.2, allocations: 483.4 MB / 2.991 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 6.563e-06/12.2, allocations: 0 / 2.991 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001652/12.2, allocations: 24.05 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.004177/12.21, allocations: 0.9635 MB / 2.992 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.319e-05/12.21, allocations: 14.44 kB / 2.992 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002818/12.21, allocations: 201.2 kB / 2.992 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002606/12.21, allocations: 0.6311 MB / 2.993 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.228e-05/12.21, allocations: 15.53 kB / 2.993 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002474/12.21, allocations: 32.67 kB / 2.993 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001452/12.22, allocations: 359.9 kB / 2.993 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/12.22, allocations: 398 kB / 2.994 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.575e-05/12.22, allocations: 3.953 kB / 2.994 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.031e-05/12.22, allocations: 3.844 kB / 2.994 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-05/12.22, allocations: 20.19 kB / 2.994 GB, free: 158.3 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.00513/12.22, allocations: 1.897 MB / 2.996 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008198/12.22, allocations: 305.5 kB / 2.996 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004319/12.22, allocations: 172.5 kB / 2.996 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004988/12.22, allocations: 198.3 kB / 2.996 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/12.22, allocations: 33.59 kB / 2.996 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 5.22e-06/12.22, allocations: 0 / 2.996 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001868/12.23, allocations: 376.6 kB / 2.997 GB, free: 157 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/12.23, allocations: 54.66 kB / 2.997 GB, free: 157 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/12.23, allocations: 370 kB / 2.997 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.709e-05/12.23, allocations: 29.58 kB / 2.997 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003984/12.23, allocations: 314.9 kB / 2.997 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/12.23, allocations: 114.6 kB / 2.997 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/12.23, allocations: 7.906 kB / 2.997 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001983/12.23, allocations: 363.5 kB / 2.998 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/12.23, allocations: 110.7 kB / 2.998 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/12.23, allocations: 200.1 kB / 2.998 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004301/12.23, allocations: 145 kB / 2.998 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/12.23, allocations: 0 / 2.998 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001072/12.23, allocations: 368.2 kB / 2.999 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002483/12.23, allocations: 364.3 kB / 2.999 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/12.23, allocations: 7.594 kB / 2.999 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.229e-05/12.23, allocations: 0 / 2.999 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006358/12.23, allocations: 75.88 kB / 2.999 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/12.23, allocations: 2.969 kB / 2.999 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/12.23, allocations: 56.41 kB / 2.999 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.744e-05/12.23, allocations: 14.97 kB / 2.999 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/12.23, allocations: 3.812 kB / 2.999 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007364/12.23, allocations: 274.8 kB / 2.999 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/12.23, allocations: 0 / 2.999 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/12.23, allocations: 3.406 kB / 2.999 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005163/12.23, allocations: 74.59 kB / 2.999 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/12.23, allocations: 3.781 kB / 2.999 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/12.24, allocations: 53.97 kB / 2.999 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.526e-05/12.24, allocations: 14.12 kB / 2.999 GB, free: 155.8 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.0002251/12.24, allocations: 108 kB / 3 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009977/12.24, allocations: 329 kB / 3 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002343/12.24, allocations: 59.83 kB / 3 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/12.24, allocations: 352.2 kB / 3 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/12.24, allocations: 3.719 kB / 3 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/12.24, allocations: 0 / 3 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007126/12.24, allocations: 395.6 kB / 3.001 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003041/12.24, allocations: 1.04 MB / 3.002 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/12.24, allocations: 0 / 3.002 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006956/12.24, allocations: 96.34 kB / 3.002 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.528e-05/12.24, allocations: 7.859 kB / 3.002 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-05/12.24, allocations: 7.531 kB / 3.002 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/12.24, allocations: 0 / 3.002 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/12.24, allocations: 3.906 kB / 3.002 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/12.24, allocations: 0.7167 MB / 3.002 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006017/12.24, allocations: 170.6 kB / 3.003 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/12.25, allocations: 9.078 kB / 3.003 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/12.25, allocations: 57.05 kB / 3.003 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/12.25, allocations: 21.59 kB / 3.003 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.845e-05/12.25, allocations: 15.16 kB / 3.003 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007537/12.25, allocations: 300 kB / 3.003 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/12.25, allocations: 0 / 3.003 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002762/12.25, allocations: 399.8 kB / 3.003 GB, free: 153.8 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.00562/12.26, allocations: 2.995 MB / 3.006 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001398/12.26, allocations: 463.4 kB / 3.007 GB, free: 152 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.968e-05/12.26, allocations: 11.53 kB / 3.007 GB, free: 152 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003995/12.26, allocations: 158.3 kB / 3.007 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003718/12.26, allocations: 330.4 kB / 3.007 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006077/12.27, allocations: 1.098 MB / 3.008 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/12.27, allocations: 0.9497 MB / 3.009 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002152/12.27, allocations: 214.8 kB / 3.009 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000586/12.27, allocations: 208.1 kB / 3.01 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.514e-06/12.27, allocations: 3 kB / 3.01 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09946/12.37, allocations: 25.25 MB / 3.034 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002462/12.37, allocations: 152.3 kB / 3.034 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.031/17.4, allocations: 0 / 3.034 GB, free: 128.4 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Delays_Examples_Delay.fmu > IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1)