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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001127, allocations: 100.6 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.00122/0.00122, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.104/2.104, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8563/0.8563, allocations: 132.2 MB / 423.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006109/0.0006112, allocations: 12.69 kB / 0.5033 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6049/0.6055, allocations: 81.56 MB / 0.583 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.2403/0.8459, allocations: 152.6 MB / 0.7319 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009633/0.8556, allocations: 4.785 MB / 0.7366 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.8568, allocations: 23.81 kB / 0.7366 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.8584, allocations: 446 kB / 0.7371 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005117/0.8636, allocations: 1.387 MB / 0.7384 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003132/0.8667, allocations: 0.8648 MB / 0.7393 GB, free: 164 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002387/0.8691, allocations: 1.086 MB / 0.7403 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007622/0.8699, allocations: 460.7 kB / 0.7408 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.8713, allocations: 0.5918 MB / 0.7413 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005919/0.8719, allocations: 350.5 kB / 0.7417 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.627e-05/0.872, allocations: 24 kB / 0.7417 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002185/0.8742, allocations: 0.6903 MB / 0.7424 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002658/0.8745, allocations: 207.4 kB / 0.7426 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002157/0.8747, allocations: 173.3 kB / 0.7427 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.876, allocations: 0.8768 MB / 0.7436 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.876, allocations: 0 / 0.7436 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.136e-06/0.876, allocations: 0 / 0.7436 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.8761, allocations: 0 / 0.7436 GB, free: 11.7 MB / 0.5762 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.001674/0.8777, allocations: 0.9461 MB / 0.7445 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.8778, allocations: 12.02 kB / 0.7445 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.8779, allocations: 82.53 kB / 0.7446 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/0.8793, allocations: 210.9 kB / 0.7448 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.8805, allocations: 0.5619 MB / 0.7453 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.01e-05/0.8805, allocations: 37 kB / 0.7454 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.984e-05/0.8806, allocations: 51.94 kB / 0.7454 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.8817, allocations: 494.3 kB / 0.7459 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.8817, allocations: 4 kB / 0.7459 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.213e-05/0.8818, allocations: 24 kB / 0.7459 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.814e-05/0.8819, allocations: 17 kB / 0.7459 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008889/0.8828, allocations: 443.7 kB / 0.7464 GB, free: 8.742 MB / 0.5762 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.003171/0.8859, allocations: 1.998 MB / 0.7483 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006334/0.8866, allocations: 363.5 kB / 0.7487 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.908e-05/0.8867, allocations: 20.25 kB / 0.7487 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.8867, allocations: 34.84 kB / 0.7487 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.745e-06/0.8867, allocations: 4 kB / 0.7487 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001359/0.8881, allocations: 0.5544 MB / 0.7493 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.8881, allocations: 55.41 kB / 0.7493 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006252/0.8888, allocations: 0.503 MB / 0.7498 GB, free: 5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/0.8888, allocations: 33.7 kB / 0.7498 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.8892, allocations: 304.2 kB / 0.7501 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.8893, allocations: 118.3 kB / 0.7502 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.842e-05/0.8894, allocations: 4 kB / 0.7502 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.8895, allocations: 370.8 kB / 0.7506 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/0.8898, allocations: 136.6 kB / 0.7507 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.8902, allocations: 221.5 kB / 0.7509 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.8905, allocations: 163.9 kB / 0.7511 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.8905, allocations: 4 kB / 0.7511 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007792/0.8913, allocations: 433.1 kB / 0.7515 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001958/0.8915, allocations: 360.9 kB / 0.7519 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.8915, allocations: 0 / 0.7519 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.8916, allocations: 4 kB / 0.7519 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003946/0.892, allocations: 75.89 kB / 0.7519 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.892, allocations: 15.81 kB / 0.7519 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000582/0.8926, allocations: 63.56 kB / 0.752 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/0.8926, allocations: 19.94 kB / 0.752 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.8926, allocations: 4 kB / 0.752 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006809/0.8933, allocations: 348.8 kB / 0.7524 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-06/0.8933, allocations: 80 / 0.7524 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-06/0.8934, allocations: 4 kB / 0.7524 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.8937, allocations: 76 kB / 0.7524 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.8937, allocations: 7.984 kB / 0.7524 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005758/0.8943, allocations: 59.64 kB / 0.7525 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.8943, allocations: 16 kB / 0.7525 GB, free: 2.141 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.0004307/0.8948, allocations: 291.1 kB / 0.7528 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.8949, allocations: 59.3 kB / 0.7529 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009201/0.8958, allocations: 436.1 kB / 0.7533 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.8959, allocations: 4 kB / 0.7533 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.8959, allocations: 0 / 0.7533 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007132/0.8966, allocations: 436.3 kB / 0.7537 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/0.8989, allocations: 1.188 MB / 0.7549 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.8989, allocations: 0 / 0.7549 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004568/0.8993, allocations: 87.89 kB / 0.7549 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/0.8994, allocations: 4 kB / 0.7549 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/0.8994, allocations: 8 kB / 0.7549 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.297e-06/0.8994, allocations: 8 kB / 0.755 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.8994, allocations: 4.125 kB / 0.755 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.9007, allocations: 0.8148 MB / 0.7558 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/0.901, allocations: 176.4 kB / 0.7559 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.486e-05/0.9011, allocations: 8 kB / 0.7559 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005246/0.9017, allocations: 55.8 kB / 0.756 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.9017, allocations: 27.86 kB / 0.756 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.9018, allocations: 16 kB / 0.756 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000466/0.9023, allocations: 358.8 kB / 0.7564 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9023, allocations: 0 / 0.7564 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001053/0.9033, allocations: 327.2 kB / 0.7567 GB, free: 13.66 MB / 0.5919 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.00239/0.9057, allocations: 1.864 MB / 0.7585 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00112/0.9069, allocations: 0.5191 MB / 0.759 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.9069, allocations: 0 / 0.759 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003316/0.9072, allocations: 192.3 kB / 0.7592 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/0.9095, allocations: 354.3 kB / 0.7595 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008837/0.9184, allocations: 3.973 MB / 0.7634 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008172/0.9193, allocations: 0.949 MB / 0.7643 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00114/0.9204, allocations: 180.8 kB / 0.7645 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/0.9209, allocations: 223.4 kB / 0.7647 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of SimCode: time 1.233e-06/0.9209, allocations: 0 / 0.7647 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05421/0.9751, allocations: 16.66 MB / 0.781 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003015/0.9755, allocations: 190.3 kB / 0.7812 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.267/4.243, allocations: 0 / 0.7812 GB, free: 4.688 MB / 0.6075 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) Environment - environmentSimulation: