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.001368/0.001368, allocations: 174.7 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.7493/0.7493, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.53/1.53, allocations: 221.3 MB / 400.4 MB, free: 5.805 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.001183/0.001182, allocations: 101.2 kB / 483.3 MB, free: 5.848 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.265e-05/4.28e-05, allocations: 2.375 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1986, allocations: 82.3 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.083/4.281, allocations: 1.886 GB / 2.526 GB, free: 44.26 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/4.282, allocations: 87.95 kB / 2.526 GB, free: 44.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.755/6.036, allocations: 488.8 MB / 3.004 GB, free: 94.49 MB / 0.6823 GB Notification: Performance of FrontEnd: time 9.52e-07/6.036, allocations: 3.938 kB / 3.004 GB, free: 94.48 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.947e-05/6.037, allocations: 19.98 kB / 3.004 GB, free: 94.46 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.00218/6.039, allocations: 0.9698 MB / 3.005 GB, free: 93.45 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/6.039, allocations: 11.97 kB / 3.005 GB, free: 93.44 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002003/6.039, allocations: 90.52 kB / 3.005 GB, free: 93.34 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/6.041, allocations: 206.9 kB / 3.005 GB, free: 93.14 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/6.042, allocations: 0.6203 MB / 3.005 GB, free: 92.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/6.042, allocations: 48.95 kB / 3.006 GB, free: 92.43 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/6.042, allocations: 48 kB / 3.006 GB, free: 92.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008146/6.043, allocations: 458.4 kB / 3.006 GB, free: 91.93 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/6.043, allocations: 0 / 3.006 GB, free: 91.93 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.993e-05/6.043, allocations: 20 kB / 3.006 GB, free: 91.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/6.043, allocations: 20.98 kB / 3.006 GB, free: 91.88 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006129/6.044, allocations: 379.9 kB / 3.006 GB, free: 91.52 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.002603/6.046, allocations: 2.002 MB / 3.008 GB, free: 89.33 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/6.047, allocations: 320.3 kB / 3.009 GB, free: 89.01 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/6.047, allocations: 182 kB / 3.009 GB, free: 88.83 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002581/6.047, allocations: 198.5 kB / 3.009 GB, free: 88.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/6.047, allocations: 38.78 kB / 3.009 GB, free: 88.55 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 1.813e-06/6.047, allocations: 0 / 3.009 GB, free: 88.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.0008114/6.048, allocations: 394.9 kB / 3.009 GB, free: 88.16 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/6.048, allocations: 55.41 kB / 3.01 GB, free: 88.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/6.049, allocations: 441 kB / 3.01 GB, free: 87.66 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/6.049, allocations: 33.69 kB / 3.01 GB, free: 87.62 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/6.049, allocations: 304.2 kB / 3.01 GB, free: 87.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.67e-05/6.049, allocations: 118.3 kB / 3.01 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.633e-05/6.049, allocations: 4 kB / 3.01 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.026e-05/6.049, allocations: 370.8 kB / 3.011 GB, free: 86.83 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/6.049, allocations: 112.6 kB / 3.011 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/6.049, allocations: 206.6 kB / 3.011 GB, free: 86.48 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/6.05, allocations: 151.9 kB / 3.011 GB, free: 86.33 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/6.05, allocations: 0 / 3.011 GB, free: 86.33 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005312/6.05, allocations: 393 kB / 3.012 GB, free: 85.94 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.772e-05/6.05, allocations: 364 kB / 3.012 GB, free: 85.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/6.05, allocations: 0 / 3.012 GB, free: 85.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/6.05, allocations: 4 kB / 3.012 GB, free: 85.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/6.051, allocations: 79.89 kB / 3.012 GB, free: 85.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/6.051, allocations: 4 kB / 3.012 GB, free: 85.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000596/6.051, allocations: 59.66 kB / 3.012 GB, free: 85.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/6.051, allocations: 15.98 kB / 3.012 GB, free: 85.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/6.051, allocations: 7.953 kB / 3.012 GB, free: 85.39 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004164/6.052, allocations: 299.7 kB / 3.012 GB, free: 85.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/6.052, allocations: 4 kB / 3.012 GB, free: 85.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.908e-06/6.052, allocations: 3.938 kB / 3.012 GB, free: 85.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/6.052, allocations: 79.89 kB / 3.012 GB, free: 85.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/6.052, allocations: 3.938 kB / 3.012 GB, free: 85.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005856/6.053, allocations: 63.73 kB / 3.012 GB, free: 84.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/6.053, allocations: 16 kB / 3.013 GB, free: 84.93 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 9.326e-05/6.053, allocations: 121.6 kB / 3.013 GB, free: 84.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.58e-05/6.053, allocations: 67.2 kB / 3.013 GB, free: 84.74 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005662/6.054, allocations: 383.2 kB / 3.013 GB, free: 84.36 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/6.054, allocations: 7.984 kB / 3.013 GB, free: 84.35 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/6.054, allocations: 0 / 3.013 GB, free: 84.35 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003796/6.054, allocations: 404.8 kB / 3.013 GB, free: 83.92 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/6.055, allocations: 1.141 MB / 3.015 GB, free: 82.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/6.055, allocations: 4 kB / 3.015 GB, free: 82.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003979/6.056, allocations: 88.08 kB / 3.015 GB, free: 82.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/6.056, allocations: 8 kB / 3.015 GB, free: 82.61 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/6.056, allocations: 12 kB / 3.015 GB, free: 82.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/6.056, allocations: 4.094 kB / 3.015 GB, free: 82.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/6.056, allocations: 7.922 kB / 3.015 GB, free: 82.59 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007294/6.057, allocations: 0.7446 MB / 3.015 GB, free: 81.77 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002282/6.057, allocations: 176.4 kB / 3.016 GB, free: 81.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.427e-05/6.057, allocations: 12 kB / 3.016 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005266/6.057, allocations: 55.8 kB / 3.016 GB, free: 81.51 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/6.058, allocations: 23.97 kB / 3.016 GB, free: 81.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/6.058, allocations: 15.98 kB / 3.016 GB, free: 81.47 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003426/6.058, allocations: 357.5 kB / 3.016 GB, free: 81.12 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/6.058, allocations: 0 / 3.016 GB, free: 81.12 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001189/6.059, allocations: 435.3 kB / 3.016 GB, free: 80.7 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.002623/6.062, allocations: 2.871 MB / 3.019 GB, free: 77.74 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006772/6.062, allocations: 495.2 kB / 3.02 GB, free: 77.25 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/6.062, allocations: 7.938 kB / 3.02 GB, free: 77.25 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000196/6.063, allocations: 164 kB / 3.02 GB, free: 77.09 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/6.064, allocations: 360.8 kB / 3.02 GB, free: 76.74 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/6.066, allocations: 1.156 MB / 3.021 GB, free: 75.53 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/6.067, allocations: 0.9461 MB / 3.022 GB, free: 74.55 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008108/6.067, allocations: 232.7 kB / 3.022 GB, free: 74.32 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/6.068, allocations: 211.4 kB / 3.023 GB, free: 74.12 MB / 0.6823 GB Notification: Performance of SimCode: time 3.41e-07/6.068, allocations: 0 / 3.023 GB, free: 74.12 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6996/6.767, allocations: 40.15 MB / 3.062 GB, free: 34.16 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/6.768, allocations: 168.4 kB / 3.062 GB, free: 33.95 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.339/11.11, allocations: 0 / 3.062 GB, free: 33.95 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)