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.00582/0.00582, allocations: 170.6 kB / 15.11 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7519/0.7519, allocations: 135.2 MB / 151 MB, free: 13.83 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.515/1.515, allocations: 223.2 MB / 406.8 MB, free: 3.156 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.00103/0.00103, allocations: 92.92 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003681, allocations: 8 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4654/0.4658, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.35/5.816, allocations: 1.886 GB / 2.535 GB, free: 52.28 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003766/5.816, allocations: 91.14 kB / 2.535 GB, free: 52.23 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.399/8.215, allocations: 489.2 MB / 3.013 GB, free: 101 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.084e-06/8.215, allocations: 0 / 3.013 GB, free: 101 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.92e-05/8.215, allocations: 23.98 kB / 3.013 GB, free: 100.9 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.003006/8.218, allocations: 1.087 MB / 3.014 GB, free: 99.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.359e-05/8.218, allocations: 8.031 kB / 3.014 GB, free: 99.79 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00014/8.218, allocations: 94.52 kB / 3.014 GB, free: 99.69 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/8.22, allocations: 206.9 kB / 3.014 GB, free: 99.49 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/8.221, allocations: 0.6281 MB / 3.015 GB, free: 98.82 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/8.221, allocations: 40.95 kB / 3.015 GB, free: 98.78 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.43e-05/8.221, allocations: 48 kB / 3.015 GB, free: 98.73 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009186/8.222, allocations: 482.3 kB / 3.016 GB, free: 98.26 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/8.222, allocations: 0 / 3.016 GB, free: 98.26 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.287e-05/8.222, allocations: 20 kB / 3.016 GB, free: 98.24 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-05/8.222, allocations: 20.98 kB / 3.016 GB, free: 98.22 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007495/8.223, allocations: 423.8 kB / 3.016 GB, free: 97.8 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.003007/8.226, allocations: 2.002 MB / 3.018 GB, free: 95.62 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005634/8.227, allocations: 344 kB / 3.018 GB, free: 95.28 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000353/8.227, allocations: 190.5 kB / 3.019 GB, free: 95.05 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/8.227, allocations: 34.84 kB / 3.019 GB, free: 95.01 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.625e-06/8.227, allocations: 0 / 3.019 GB, free: 95.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001379/8.228, allocations: 0.5473 MB / 3.019 GB, free: 94.46 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/8.229, allocations: 59.41 kB / 3.019 GB, free: 94.39 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005455/8.229, allocations: 450.3 kB / 3.02 GB, free: 93.94 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/8.229, allocations: 33.69 kB / 3.02 GB, free: 93.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/8.229, allocations: 308.2 kB / 3.02 GB, free: 93.59 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/8.229, allocations: 118.3 kB / 3.02 GB, free: 93.48 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.682e-05/8.23, allocations: 4 kB / 3.02 GB, free: 93.47 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001916/8.23, allocations: 370.7 kB / 3.02 GB, free: 93.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/8.23, allocations: 132.6 kB / 3.021 GB, free: 92.97 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/8.23, allocations: 226.6 kB / 3.021 GB, free: 92.71 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/8.231, allocations: 161.4 kB / 3.021 GB, free: 92.56 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/8.231, allocations: 4 kB / 3.021 GB, free: 92.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007004/8.231, allocations: 440.9 kB / 3.021 GB, free: 92.12 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002205/8.232, allocations: 360 kB / 3.022 GB, free: 91.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/8.232, allocations: 4 kB / 3.022 GB, free: 91.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/8.232, allocations: 0 / 3.022 GB, free: 91.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000378/8.232, allocations: 71.91 kB / 3.022 GB, free: 91.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/8.232, allocations: 0 / 3.022 GB, free: 91.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006594/8.233, allocations: 67.64 kB / 3.022 GB, free: 91.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.918e-05/8.233, allocations: 12 kB / 3.022 GB, free: 91.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/8.233, allocations: 5.406 kB / 3.022 GB, free: 91.58 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005915/8.233, allocations: 347.9 kB / 3.022 GB, free: 91.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-06/8.233, allocations: 11.94 kB / 3.022 GB, free: 91.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-06/8.233, allocations: 3.984 kB / 3.022 GB, free: 91.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/8.234, allocations: 83.94 kB / 3.022 GB, free: 91.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/8.234, allocations: 0 / 3.022 GB, free: 91.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000485/8.234, allocations: 63.64 kB / 3.022 GB, free: 91.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/8.234, allocations: 16 kB / 3.022 GB, free: 91.07 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 () * Number of clocked 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.0003696/8.235, allocations: 285 kB / 3.023 GB, free: 90.78 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.815e-05/8.235, allocations: 63.2 kB / 3.023 GB, free: 90.71 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007699/8.235, allocations: 433 kB / 3.023 GB, free: 90.29 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/8.235, allocations: 4 kB / 3.023 GB, free: 90.28 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.567e-06/8.235, allocations: 0 / 3.023 GB, free: 90.28 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005431/8.236, allocations: 444.5 kB / 3.024 GB, free: 89.82 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/8.238, allocations: 1.174 MB / 3.025 GB, free: 88.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/8.238, allocations: 4 kB / 3.025 GB, free: 88.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004141/8.238, allocations: 87.89 kB / 3.025 GB, free: 88.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/8.238, allocations: 4 kB / 3.025 GB, free: 88.47 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/8.238, allocations: 8 kB / 3.025 GB, free: 88.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/8.238, allocations: 4 kB / 3.025 GB, free: 88.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/8.238, allocations: 192 / 3.025 GB, free: 88.46 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/8.239, allocations: 0.8104 MB / 3.026 GB, free: 87.58 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002452/8.24, allocations: 180.5 kB / 3.026 GB, free: 87.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.65e-05/8.24, allocations: 11.98 kB / 3.026 GB, free: 87.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005083/8.24, allocations: 59.78 kB / 3.026 GB, free: 87.31 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.597e-05/8.24, allocations: 23.97 kB / 3.026 GB, free: 87.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/8.24, allocations: 12 kB / 3.026 GB, free: 87.28 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004046/8.241, allocations: 362.8 kB / 3.026 GB, free: 86.93 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/8.241, allocations: 96 / 3.026 GB, free: 86.93 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001558/8.242, allocations: 451.1 kB / 3.027 GB, free: 86.48 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 () * Number of clocked 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.003688/8.246, allocations: 2.924 MB / 3.029 GB, free: 83.48 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001027/8.247, allocations: 0.5115 MB / 3.03 GB, free: 82.97 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/8.247, allocations: 384 / 3.03 GB, free: 82.97 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003131/8.247, allocations: 187.7 kB / 3.03 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/8.249, allocations: 359.4 kB / 3.03 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005197/8.254, allocations: 3.98 MB / 3.034 GB, free: 78.36 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/8.255, allocations: 0.9451 MB / 3.035 GB, free: 77.39 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007781/8.256, allocations: 184.8 kB / 3.035 GB, free: 77.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/8.256, allocations: 223.3 kB / 3.036 GB, free: 76.99 MB / 0.6823 GB Notification: Performance of SimCode: time 9.32e-07/8.256, allocations: 0 / 3.036 GB, free: 76.99 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08394/8.34, allocations: 35.91 MB / 3.071 GB, free: 41.32 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003362/8.34, allocations: 196.4 kB / 3.071 GB, free: 41.08 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.826/12.17, allocations: 0 / 3.071 GB, free: 41.08 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)