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.0008825/0.0008825, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004449/0.004449, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9266/0.9266, allocations: 135.3 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002927/0.0002927, allocations: 12 kB / 0.5077 GB, free: 4.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1375, allocations: 82.31 MB / 0.5881 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.433/0.5705, allocations: 178.6 MB / 0.7625 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007618/0.5781, allocations: 4.87 MB / 0.7672 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.5792, allocations: 27.75 kB / 0.7673 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.5804, allocations: 374 kB / 0.7676 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00363/0.584, allocations: 1.331 MB / 0.7689 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001869/0.5859, allocations: 0.6903 MB / 0.7696 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002777/0.5887, allocations: 2.52 MB / 0.7721 GB, free: 16 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000842/0.5895, allocations: 0.5016 MB / 0.7725 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001646/0.5912, allocations: 0.7663 MB / 0.7733 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.5924, allocations: 0.5368 MB / 0.7738 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.5926, allocations: 24 kB / 0.7738 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002555/0.5951, allocations: 1.602 MB / 0.7754 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000305/0.5954, allocations: 231.2 kB / 0.7756 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005036/0.596, allocations: 387.8 kB / 0.776 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002079/0.598, allocations: 1.449 MB / 0.7774 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.5981, allocations: 0 / 0.7774 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.462e-06/0.5981, allocations: 0 / 0.7774 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.156e-05/0.5981, allocations: 0 / 0.7774 GB, free: 10.49 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.001619/0.5997, allocations: 0.9694 MB / 0.7784 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.5998, allocations: 8.031 kB / 0.7784 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/0.5999, allocations: 90.47 kB / 0.7785 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.6012, allocations: 214.8 kB / 0.7787 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008969/0.6021, allocations: 0.581 MB / 0.7792 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.6022, allocations: 33 kB / 0.7793 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.673e-05/0.6023, allocations: 51.98 kB / 0.7793 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000882/0.6032, allocations: 0.4938 MB / 0.7798 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.6032, allocations: 0 / 0.7798 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.535e-05/0.6032, allocations: 23.94 kB / 0.7798 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-05/0.6033, allocations: 28.97 kB / 0.7798 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008018/0.6041, allocations: 443.7 kB / 0.7803 GB, free: 7.477 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.002558/0.6066, allocations: 2.006 MB / 0.7822 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005628/0.6072, allocations: 348.6 kB / 0.7826 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/0.6076, allocations: 214.5 kB / 0.7828 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002676/0.6079, allocations: 198.5 kB / 0.7829 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.6079, allocations: 34.84 kB / 0.783 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.503e-06/0.6079, allocations: 0 / 0.783 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001218/0.6091, allocations: 0.5657 MB / 0.7835 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.6092, allocations: 59.34 kB / 0.7836 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005531/0.6097, allocations: 0.503 MB / 0.7841 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/0.6098, allocations: 41.7 kB / 0.7841 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.61, allocations: 304.2 kB / 0.7844 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.6101, allocations: 118.3 kB / 0.7845 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/0.6102, allocations: 29.7 kB / 0.7846 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.6103, allocations: 370.8 kB / 0.7849 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/0.6106, allocations: 136.6 kB / 0.785 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003289/0.6109, allocations: 220.9 kB / 0.7852 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006007/0.6115, allocations: 344.1 kB / 0.7856 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.6115, allocations: 0 / 0.7856 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007466/0.6123, allocations: 441.8 kB / 0.786 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.551e-05/0.6124, allocations: 126.6 kB / 0.7861 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.6124, allocations: 0 / 0.7861 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.6124, allocations: 4 kB / 0.7861 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.6127, allocations: 71.89 kB / 0.7862 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.6128, allocations: 4 kB / 0.7862 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005389/0.6133, allocations: 63.66 kB / 0.7863 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.6134, allocations: 11.98 kB / 0.7863 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.815e-06/0.6134, allocations: 4 kB / 0.7863 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006292/0.614, allocations: 359.7 kB / 0.7866 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/0.614, allocations: 0 / 0.7866 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.302e-06/0.614, allocations: 4 kB / 0.7866 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.6143, allocations: 71.91 kB / 0.7867 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.6143, allocations: 7.875 kB / 0.7867 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005136/0.6149, allocations: 63.73 kB / 0.7868 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.6149, allocations: 12 kB / 0.7868 GB, free: 492 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002666/0.6152, allocations: 297.7 kB / 0.787 GB, free: 184 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.293e-05/0.6153, allocations: 59.25 kB / 0.7871 GB, free: 124 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00079/0.6161, allocations: 435.5 kB / 0.7875 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.6161, allocations: 7.938 kB / 0.7875 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.6161, allocations: 0 / 0.7875 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006112/0.6167, allocations: 452.2 kB / 0.788 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.6184, allocations: 1.184 MB / 0.7891 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.6184, allocations: 3.938 kB / 0.7891 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004068/0.6189, allocations: 88.08 kB / 0.7892 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.6189, allocations: 4 kB / 0.7892 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.6189, allocations: 8 kB / 0.7892 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.6189, allocations: 4 kB / 0.7892 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6189, allocations: 0 / 0.7892 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.62, allocations: 0.743 MB / 0.7899 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/0.6202, allocations: 180.3 kB / 0.7901 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.926e-05/0.6203, allocations: 12.5 kB / 0.7901 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005145/0.6208, allocations: 51.89 kB / 0.7902 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.475e-05/0.6209, allocations: 23.97 kB / 0.7902 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.6209, allocations: 12.5 kB / 0.7902 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003903/0.6213, allocations: 366.8 kB / 0.7906 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6213, allocations: 0 / 0.7906 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008019/0.6221, allocations: 331.1 kB / 0.7909 GB, free: 12.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001577/0.6237, allocations: 1.371 MB / 0.7922 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000957/0.6247, allocations: 0.5249 MB / 0.7927 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.6247, allocations: 8 kB / 0.7927 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003023/0.625, allocations: 175.8 kB / 0.7929 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/0.627, allocations: 379.6 kB / 0.7933 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006313/0.6333, allocations: 5.036 MB / 0.7982 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006/0.6339, allocations: 0.9295 MB / 0.7991 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006931/0.6346, allocations: 181.4 kB / 0.7993 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/0.635, allocations: 219.4 kB / 0.7995 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of SimCode: time 1.002e-06/0.635, allocations: 4 kB / 0.7995 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4994/1.134, allocations: 16.11 MB / 0.8152 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002709/1.135, allocations: 219.4 kB / 0.8154 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.17/3.305, allocations: 0 / 0.8154 GB, free: 3.027 MB / 0.6231 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/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)