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.001222/0.001222, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001561/0.001561, allocations: 168.7 kB / 15.95 MB, free: 200 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.389/1.389, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7429/0.7429, allocations: 132.3 MB / 423.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003991/0.0003994, allocations: 11.98 kB / 0.5035 GB, free: 4.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4497/0.4501, allocations: 81.57 MB / 0.5831 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.1933/0.6434, allocations: 166.7 MB / 0.7459 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007356/0.6508, allocations: 4.569 MB / 0.7504 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007951/0.6517, allocations: 27.81 kB / 0.7504 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009237/0.6526, allocations: 290.1 kB / 0.7507 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002981/0.6556, allocations: 1.034 MB / 0.7517 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.6577, allocations: 0.6057 MB / 0.7523 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002723/0.6604, allocations: 2.136 MB / 0.7543 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009328/0.6613, allocations: 440.7 kB / 0.7548 GB, free: 360 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00178/0.6631, allocations: 0.7158 MB / 0.7555 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.6642, allocations: 0.5174 MB / 0.756 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.6643, allocations: 24 kB / 0.756 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/0.6666, allocations: 0.873 MB / 0.7568 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003567/0.6669, allocations: 227.2 kB / 0.7571 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003182/0.6673, allocations: 169.3 kB / 0.7572 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.6688, allocations: 0.9586 MB / 0.7582 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.6688, allocations: 4 kB / 0.7582 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6688, allocations: 7.875 kB / 0.7582 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.725e-05/0.6688, allocations: 0 / 0.7582 GB, free: 12.85 MB / 0.5919 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.001745/0.6706, allocations: 0.9695 MB / 0.7591 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.6706, allocations: 12.03 kB / 0.7591 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000143/0.6708, allocations: 86.52 kB / 0.7592 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.6721, allocations: 202.9 kB / 0.7594 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009472/0.673, allocations: 0.5697 MB / 0.76 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.6731, allocations: 33 kB / 0.76 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.656e-05/0.6731, allocations: 48 kB / 0.76 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00088/0.674, allocations: 0.4905 MB / 0.7605 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.6741, allocations: 0 / 0.7605 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.345e-05/0.6741, allocations: 24 kB / 0.7605 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/0.6742, allocations: 13 kB / 0.7606 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00079/0.675, allocations: 443.7 kB / 0.761 GB, free: 9.871 MB / 0.5919 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.002755/0.6777, allocations: 2.002 MB / 0.7629 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000627/0.6784, allocations: 358 kB / 0.7633 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.6787, allocations: 213.3 kB / 0.7635 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002867/0.679, allocations: 194.5 kB / 0.7637 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.6791, allocations: 46.73 kB / 0.7637 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.954e-06/0.6791, allocations: 0 / 0.7637 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001221/0.6803, allocations: 0.5547 MB / 0.7642 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.6804, allocations: 55.41 kB / 0.7643 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005614/0.6809, allocations: 0.4991 MB / 0.7648 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.221e-05/0.681, allocations: 41.7 kB / 0.7648 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.6812, allocations: 300.2 kB / 0.7651 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.6813, allocations: 114.3 kB / 0.7652 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/0.6813, allocations: 8 kB / 0.7652 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.6815, allocations: 362.8 kB / 0.7656 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/0.6818, allocations: 140.6 kB / 0.7657 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003478/0.6821, allocations: 221.5 kB / 0.7659 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.6824, allocations: 167.9 kB / 0.7661 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.6824, allocations: 0 / 0.7661 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007154/0.6832, allocations: 437.1 kB / 0.7665 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.89e-05/0.6833, allocations: 120.4 kB / 0.7666 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.6833, allocations: 0 / 0.7666 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.6833, allocations: 4 kB / 0.7666 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.6836, allocations: 76 kB / 0.7667 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.6837, allocations: 4 kB / 0.7667 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005091/0.6842, allocations: 67.55 kB / 0.7668 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.6842, allocations: 12 kB / 0.7668 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.805e-06/0.6842, allocations: 4 kB / 0.7668 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000582/0.6848, allocations: 348.8 kB / 0.7671 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.6848, allocations: 12.02 kB / 0.7671 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.132e-06/0.6849, allocations: 4 kB / 0.7671 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.6852, allocations: 75.89 kB / 0.7672 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.6852, allocations: 3.938 kB / 0.7672 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004572/0.6856, allocations: 63.61 kB / 0.7673 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.6857, allocations: 12 kB / 0.7673 GB, free: 3.102 MB / 0.5919 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.00031/0.686, allocations: 293 kB / 0.7676 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.6861, allocations: 55.34 kB / 0.7676 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000782/0.6869, allocations: 427.3 kB / 0.768 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.6869, allocations: 4 kB / 0.768 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6869, allocations: 0 / 0.768 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006086/0.6875, allocations: 448.2 kB / 0.7684 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.6894, allocations: 1.175 MB / 0.7696 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.6894, allocations: 4 kB / 0.7696 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003992/0.6898, allocations: 91.84 kB / 0.7697 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.6898, allocations: 4.188 kB / 0.7697 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.6899, allocations: 15.98 kB / 0.7697 GB, free: 496 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.6899, allocations: 4 kB / 0.7697 GB, free: 492 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6899, allocations: 0 / 0.7697 GB, free: 492 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.691, allocations: 0.7399 MB / 0.7704 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002614/0.6913, allocations: 180.4 kB / 0.7706 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-05/0.6914, allocations: 11.95 kB / 0.7706 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004836/0.6919, allocations: 55.8 kB / 0.7707 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.371e-05/0.692, allocations: 23.97 kB / 0.7707 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.692, allocations: 15.98 kB / 0.7707 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004208/0.6924, allocations: 354.8 kB / 0.771 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6924, allocations: 0 / 0.771 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008761/0.6933, allocations: 327.3 kB / 0.7714 GB, free: 14.74 MB / 0.6075 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.001746/0.6951, allocations: 1.38 MB / 0.7727 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009909/0.6961, allocations: 0.5244 MB / 0.7732 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.6961, allocations: 4 kB / 0.7732 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003613/0.6965, allocations: 188.5 kB / 0.7734 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.6982, allocations: 363.6 kB / 0.7737 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006072/0.7043, allocations: 3.543 MB / 0.7772 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006608/0.705, allocations: 0.9412 MB / 0.7781 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007992/0.7058, allocations: 184.7 kB / 0.7783 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003714/0.7062, allocations: 215.4 kB / 0.7785 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of SimCode: time 1.102e-06/0.7062, allocations: 4 kB / 0.7785 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03363/0.7398, allocations: 16.68 MB / 0.7948 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/0.74, allocations: 201.9 kB / 0.795 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.182/2.922, allocations: 0 / 0.795 GB, free: 6.66 MB / 0.6231 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: