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.0008712/0.0008713, allocations: 98.11 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.005645/0.005645, allocations: 170 kB / 16.27 MB, free: 6.652 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.252/1.252, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7033/0.7033, allocations: 132.3 MB / 423.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003057/0.0003057, allocations: 9.031 kB / 0.5041 GB, free: 3.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3374, allocations: 81.57 MB / 0.5837 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.1702/0.5077, allocations: 178.6 MB / 0.7582 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00679/0.5145, allocations: 4.882 MB / 0.7629 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005308/0.515, allocations: 27.75 kB / 0.763 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.5161, allocations: 370 kB / 0.7633 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002726/0.5188, allocations: 1.333 MB / 0.7646 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.5203, allocations: 0.7036 MB / 0.7653 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002184/0.5225, allocations: 2.514 MB / 0.7678 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005993/0.5231, allocations: 0.4978 MB / 0.7682 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.5244, allocations: 0.7663 MB / 0.769 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00093/0.5254, allocations: 0.5405 MB / 0.7695 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.221e-05/0.5254, allocations: 24 kB / 0.7695 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00219/0.5276, allocations: 1.613 MB / 0.7711 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.5278, allocations: 223.3 kB / 0.7713 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003479/0.5282, allocations: 387.7 kB / 0.7717 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.5296, allocations: 1.445 MB / 0.7731 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.5297, allocations: 0 / 0.7731 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5297, allocations: 0 / 0.7731 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.5297, allocations: 0 / 0.7731 GB, free: 13.88 MB / 0.6075 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.001382/0.5311, allocations: 0.9695 MB / 0.7741 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.5311, allocations: 8.031 kB / 0.7741 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.293e-05/0.5312, allocations: 90.47 kB / 0.7742 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.5324, allocations: 206.9 kB / 0.7744 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007518/0.5332, allocations: 0.5849 MB / 0.7749 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.5332, allocations: 37 kB / 0.775 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.248e-05/0.5333, allocations: 44 kB / 0.775 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008067/0.5341, allocations: 0.5022 MB / 0.7755 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.5342, allocations: 7.844 kB / 0.7755 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.721e-05/0.5342, allocations: 20 kB / 0.7755 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/0.5342, allocations: 20.98 kB / 0.7755 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007365/0.535, allocations: 443.7 kB / 0.776 GB, free: 10.86 MB / 0.6075 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.002333/0.5373, allocations: 1.998 MB / 0.7779 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005168/0.5379, allocations: 349.1 kB / 0.7782 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003203/0.5382, allocations: 213.3 kB / 0.7784 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002441/0.5384, allocations: 194.5 kB / 0.7786 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.5385, allocations: 42.72 kB / 0.7787 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.493e-06/0.5385, allocations: 0 / 0.7787 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.001126/0.5396, allocations: 0.5585 MB / 0.7792 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.5397, allocations: 63.34 kB / 0.7793 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005204/0.5402, allocations: 0.503 MB / 0.7798 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/0.5402, allocations: 37.7 kB / 0.7798 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.5405, allocations: 304.2 kB / 0.7801 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.209e-05/0.5406, allocations: 118.3 kB / 0.7802 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.5406, allocations: 33.7 kB / 0.7802 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5408, allocations: 362.8 kB / 0.7806 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.541, allocations: 148.5 kB / 0.7807 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.5414, allocations: 225.5 kB / 0.7809 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005506/0.5419, allocations: 347.2 kB / 0.7813 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.5419, allocations: 0 / 0.7813 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006924/0.5426, allocations: 442 kB / 0.7817 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.781e-05/0.5427, allocations: 123 kB / 0.7818 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.5427, allocations: 0 / 0.7818 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.5427, allocations: 4 kB / 0.7818 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.5431, allocations: 75.89 kB / 0.7819 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.5431, allocations: 4 kB / 0.7819 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/0.5436, allocations: 59.66 kB / 0.782 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.5436, allocations: 15.98 kB / 0.782 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.771e-06/0.5436, allocations: 4 kB / 0.782 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006172/0.5442, allocations: 359.7 kB / 0.7823 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/0.5442, allocations: 0 / 0.7823 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.919e-06/0.5443, allocations: 4 kB / 0.7823 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.5445, allocations: 71.84 kB / 0.7824 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.5446, allocations: 96 / 0.7824 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004666/0.545, allocations: 71.64 kB / 0.7825 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.5451, allocations: 8 kB / 0.7825 GB, free: 3.855 MB / 0.6075 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.0002541/0.5453, allocations: 297 kB / 0.7827 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.438e-05/0.5454, allocations: 59.25 kB / 0.7828 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007331/0.5462, allocations: 435.2 kB / 0.7832 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.5462, allocations: 8 kB / 0.7832 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5462, allocations: 0 / 0.7832 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005853/0.5468, allocations: 440.2 kB / 0.7836 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.5484, allocations: 1.187 MB / 0.7848 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5484, allocations: 7.969 kB / 0.7848 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003858/0.5488, allocations: 83.89 kB / 0.7849 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.5488, allocations: 4 kB / 0.7849 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.5488, allocations: 12 kB / 0.7849 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.5488, allocations: 4 kB / 0.7849 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.5488, allocations: 0 / 0.7849 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.5499, allocations: 0.7393 MB / 0.7856 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/0.5501, allocations: 184.3 kB / 0.7858 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.638e-05/0.5501, allocations: 8 kB / 0.7858 GB, free: 244 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004862/0.5506, allocations: 51.89 kB / 0.7859 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.5507, allocations: 31.84 kB / 0.7859 GB, free: 160 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.5507, allocations: 8 kB / 0.7859 GB, free: 152 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004259/0.5512, allocations: 370.9 kB / 0.7863 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5512, allocations: 0 / 0.7863 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008432/0.552, allocations: 327.1 kB / 0.7866 GB, free: 15.46 MB / 0.6231 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.001488/0.5535, allocations: 1.367 MB / 0.7879 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009012/0.5544, allocations: 0.521 MB / 0.7884 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5544, allocations: 4 kB / 0.7884 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.5547, allocations: 179.8 kB / 0.7886 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/0.5566, allocations: 382.7 kB / 0.789 GB, free: 13 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005894/0.5625, allocations: 5.036 MB / 0.7939 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.563, allocations: 0.9333 MB / 0.7948 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005607/0.5636, allocations: 184.8 kB / 0.795 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/0.5639, allocations: 219.4 kB / 0.7952 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.5639, allocations: 0 / 0.7952 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7144/1.278, allocations: 16.11 MB / 0.8109 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002957/1.279, allocations: 217 kB / 0.8111 GB, free: 6.387 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.265/3.544, allocations: 4.062 kB / 0.8111 GB, free: 6.383 MB / 0.6387 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/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)