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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.0013, allocations: 99.78 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.239/1.239, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003659, allocations: 8 kB / 0.5069 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2317, allocations: 82.31 MB / 0.5873 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.6108/0.8425, allocations: 152.5 MB / 0.7362 GB, free: 124 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006899/0.8495, allocations: 4.781 MB / 0.7409 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007283/0.8502, allocations: 22.91 kB / 0.7409 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.8514, allocations: 445.8 kB / 0.7413 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003509/0.8549, allocations: 1.395 MB / 0.7427 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002487/0.8574, allocations: 0.8641 MB / 0.7436 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001592/0.859, allocations: 1.087 MB / 0.7446 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006066/0.8597, allocations: 454.1 kB / 0.745 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.8607, allocations: 0.6014 MB / 0.7456 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004282/0.8611, allocations: 346.9 kB / 0.746 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.909e-05/0.8612, allocations: 24 kB / 0.746 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001569/0.8628, allocations: 0.6925 MB / 0.7467 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.863, allocations: 210 kB / 0.7469 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.8631, allocations: 169.3 kB / 0.747 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009038/0.864, allocations: 0.8757 MB / 0.7479 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.8641, allocations: 0 / 0.7479 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8641, allocations: 0 / 0.7479 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.8641, allocations: 0 / 0.7479 GB, free: 8.125 MB / 0.5606 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.001346/0.8654, allocations: 0.956 MB / 0.7488 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.8655, allocations: 8.031 kB / 0.7488 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.134e-05/0.8656, allocations: 86.47 kB / 0.7489 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.8668, allocations: 214.9 kB / 0.7491 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008611/0.8676, allocations: 0.5542 MB / 0.7497 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.8677, allocations: 36.95 kB / 0.7497 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-05/0.8678, allocations: 51.98 kB / 0.7497 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007949/0.8686, allocations: 498.3 kB / 0.7502 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.8686, allocations: 0 / 0.7502 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.8686, allocations: 20 kB / 0.7502 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.019e-05/0.8687, allocations: 24.98 kB / 0.7503 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007156/0.8694, allocations: 435.7 kB / 0.7507 GB, free: 5.168 MB / 0.5606 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.002378/0.8718, allocations: 2 MB / 0.7526 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005373/0.8723, allocations: 365.1 kB / 0.753 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.755e-05/0.8724, allocations: 16.25 kB / 0.753 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.8724, allocations: 38.78 kB / 0.753 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.064e-06/0.8724, allocations: 0 / 0.753 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001153/0.8736, allocations: 0.5577 MB / 0.7536 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.8736, allocations: 63.39 kB / 0.7536 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004992/0.8742, allocations: 0.4991 MB / 0.7541 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.8742, allocations: 29.7 kB / 0.7541 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.8744, allocations: 304.2 kB / 0.7544 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.549e-05/0.8745, allocations: 122.3 kB / 0.7546 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.66e-05/0.8745, allocations: 8 kB / 0.7546 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.8746, allocations: 362.8 kB / 0.7549 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.8749, allocations: 136.6 kB / 0.755 GB, free: 476 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.8752, allocations: 220.9 kB / 0.7552 GB, free: 228 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.8755, allocations: 163.9 kB / 0.7554 GB, free: 64 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.8755, allocations: 4 kB / 0.7554 GB, free: 60 kB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006723/0.8762, allocations: 426.5 kB / 0.7558 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.8763, allocations: 372.4 kB / 0.7562 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.8763, allocations: 0 / 0.7562 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.8764, allocations: 4 kB / 0.7562 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/0.8767, allocations: 71.89 kB / 0.7562 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.8767, allocations: 4 kB / 0.7562 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005048/0.8772, allocations: 67.56 kB / 0.7563 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.8773, allocations: 11.98 kB / 0.7563 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.823e-06/0.8773, allocations: 4 kB / 0.7563 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005691/0.8779, allocations: 356.3 kB / 0.7567 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.8779, allocations: 0 / 0.7567 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.559e-06/0.8779, allocations: 4 kB / 0.7567 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.8782, allocations: 75.75 kB / 0.7567 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.8782, allocations: 11.94 kB / 0.7568 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/0.8787, allocations: 62.39 kB / 0.7568 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.8787, allocations: 20 kB / 0.7568 GB, free: 14.57 MB / 0.5762 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.0002984/0.879, allocations: 289 kB / 0.7571 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-05/0.8791, allocations: 59.3 kB / 0.7572 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00075/0.8798, allocations: 432.1 kB / 0.7576 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.8799, allocations: 4 kB / 0.7576 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.8799, allocations: 0 / 0.7576 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000591/0.8805, allocations: 444.2 kB / 0.758 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.8822, allocations: 1.183 MB / 0.7592 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.8822, allocations: 0 / 0.7592 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003943/0.8826, allocations: 83.89 kB / 0.7592 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.8826, allocations: 4 kB / 0.7592 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.8827, allocations: 8 kB / 0.7592 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.8827, allocations: 7.938 kB / 0.7593 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.8827, allocations: 0 / 0.7593 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.8837, allocations: 0.8189 MB / 0.7601 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.884, allocations: 180.4 kB / 0.7602 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.882e-05/0.884, allocations: 8 kB / 0.7602 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004734/0.8845, allocations: 52.34 kB / 0.7603 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.8846, allocations: 23.97 kB / 0.7603 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/0.8846, allocations: 16 kB / 0.7603 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003924/0.885, allocations: 358.8 kB / 0.7607 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.1e-07/0.885, allocations: 0 / 0.7607 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008436/0.8859, allocations: 327.2 kB / 0.761 GB, free: 10.11 MB / 0.5762 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.001688/0.8876, allocations: 1.86 MB / 0.7628 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009044/0.8885, allocations: 0.523 MB / 0.7633 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.8885, allocations: 3.938 kB / 0.7633 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002973/0.8888, allocations: 189.9 kB / 0.7635 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/0.8904, allocations: 356.1 kB / 0.7638 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004669/0.8951, allocations: 3.982 MB / 0.7677 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.8956, allocations: 0.949 MB / 0.7686 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005825/0.8962, allocations: 180.8 kB / 0.7688 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.8964, allocations: 219.4 kB / 0.769 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of SimCode: time 4.5e-07/0.8964, allocations: 4 kB / 0.769 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.007/1.903, allocations: 16.66 MB / 0.7853 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002388/1.903, allocations: 193.9 kB / 0.7855 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.092/3.996, allocations: 0 / 0.7855 GB, free: 1.105 MB / 0.5919 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) Environment - environmentSimulation: