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.00133/0.00133, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009939/0.0009939, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.262/1.262, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8914/0.8914, allocations: 135.1 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 64.45 kB / 0.5049 GB, free: 5.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1333, allocations: 80.93 MB / 0.584 GB, free: 4.785 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.3806/0.514, allocations: 180.8 MB / 0.7606 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006661/0.5207, allocations: 4.842 MB / 0.7653 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005237/0.5212, allocations: 27.81 kB / 0.7653 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009773/0.5222, allocations: 378.1 kB / 0.7657 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002623/0.5249, allocations: 1.327 MB / 0.767 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.5264, allocations: 0.7059 MB / 0.7677 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001696/0.5281, allocations: 1.845 MB / 0.7695 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000639/0.5287, allocations: 0.5862 MB / 0.77 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.5301, allocations: 0.8677 MB / 0.7709 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009266/0.531, allocations: 0.5816 MB / 0.7715 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.01e-05/0.5311, allocations: 56 kB / 0.7715 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001828/0.5329, allocations: 1.473 MB / 0.7729 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002259/0.5332, allocations: 267.2 kB / 0.7732 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003196/0.5335, allocations: 402.1 kB / 0.7736 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.535, allocations: 1.496 MB / 0.775 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.535, allocations: 0 / 0.775 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.092e-06/0.535, allocations: 0 / 0.775 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.535, allocations: 0 / 0.775 GB, free: 9.578 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.001456/0.5365, allocations: 1.109 MB / 0.7761 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.5365, allocations: 8.031 kB / 0.7761 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.703e-05/0.5366, allocations: 90.52 kB / 0.7762 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.5378, allocations: 206.8 kB / 0.7764 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000745/0.5386, allocations: 0.5809 MB / 0.777 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.5386, allocations: 40.98 kB / 0.777 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/0.5387, allocations: 52 kB / 0.7771 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007907/0.5395, allocations: 494.3 kB / 0.7775 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.5395, allocations: 0 / 0.7775 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/0.5395, allocations: 23.94 kB / 0.7776 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/0.5396, allocations: 20.94 kB / 0.7776 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007063/0.5403, allocations: 435.7 kB / 0.778 GB, free: 6.445 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.002306/0.5426, allocations: 1.99 MB / 0.7799 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005182/0.5431, allocations: 347.6 kB / 0.7803 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.5434, allocations: 211.5 kB / 0.7805 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002713/0.5437, allocations: 198.4 kB / 0.7807 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.5438, allocations: 38.84 kB / 0.7807 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.393e-06/0.5438, allocations: 0 / 0.7807 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001129/0.5449, allocations: 0.5493 MB / 0.7812 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.5449, allocations: 55.41 kB / 0.7813 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005012/0.5454, allocations: 0.503 MB / 0.7818 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.5455, allocations: 33.7 kB / 0.7818 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.5457, allocations: 300.2 kB / 0.7821 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.819e-05/0.5458, allocations: 122.3 kB / 0.7822 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.5459, allocations: 69.94 kB / 0.7823 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.546, allocations: 362.8 kB / 0.7826 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.5463, allocations: 150 kB / 0.7828 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003026/0.5466, allocations: 220.2 kB / 0.783 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005223/0.5471, allocations: 332.2 kB / 0.7833 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.5471, allocations: 0 / 0.7833 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000647/0.5478, allocations: 426.4 kB / 0.7837 GB, free: 276 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.5478, allocations: 8.094 kB / 0.7837 GB, free: 268 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5478, allocations: 0 / 0.7837 GB, free: 268 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.5479, allocations: 7.938 kB / 0.7837 GB, free: 260 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.5482, allocations: 79.2 kB / 0.7838 GB, free: 184 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.5482, allocations: 0.5469 kB / 0.7838 GB, free: 184 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004815/0.5487, allocations: 59.66 kB / 0.7839 GB, free: 124 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.5487, allocations: 15.98 kB / 0.7839 GB, free: 108 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003984/0.5491, allocations: 304 kB / 0.7842 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00029/0.5494, allocations: 224.7 kB / 0.7844 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004856/0.5499, allocations: 323.5 kB / 0.7847 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.336e-06/0.5499, allocations: 3.516 kB / 0.7847 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006291/0.5506, allocations: 432.5 kB / 0.7851 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/0.5506, allocations: 6.031 kB / 0.7851 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.5506, allocations: 4 kB / 0.7851 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-06/0.5506, allocations: 0 / 0.7851 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.5509, allocations: 75.84 kB / 0.7852 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-06/0.5509, allocations: 0 / 0.7852 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.5514, allocations: 59.73 kB / 0.7852 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.5514, allocations: 16 kB / 0.7853 GB, free: 14.64 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.0001213/0.5515, allocations: 196.2 kB / 0.7854 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.224e-05/0.5516, allocations: 67.28 kB / 0.7855 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007015/0.5523, allocations: 428 kB / 0.7859 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.5524, allocations: 4 kB / 0.7859 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5524, allocations: 0 / 0.7859 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005579/0.5529, allocations: 428.3 kB / 0.7863 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.5545, allocations: 1.179 MB / 0.7875 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5545, allocations: 0 / 0.7875 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004038/0.5549, allocations: 88.08 kB / 0.7876 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.5549, allocations: 4 kB / 0.7876 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.555, allocations: 8 kB / 0.7876 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.555, allocations: 4 kB / 0.7876 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.555, allocations: 0 / 0.7876 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009798/0.556, allocations: 0.7305 MB / 0.7883 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.5562, allocations: 176.3 kB / 0.7885 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.307e-05/0.5563, allocations: 19.11 kB / 0.7885 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004842/0.5567, allocations: 47.89 kB / 0.7885 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.832e-05/0.5568, allocations: 35.84 kB / 0.7886 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.5569, allocations: 12 kB / 0.7886 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003601/0.5572, allocations: 362.8 kB / 0.7889 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5572, allocations: 0 / 0.7889 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007362/0.558, allocations: 323.2 kB / 0.7892 GB, free: 10.41 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.001603/0.5596, allocations: 1.357 MB / 0.7905 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009509/0.5605, allocations: 0.5394 MB / 0.7911 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.5606, allocations: 4 kB / 0.7911 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.5609, allocations: 175.8 kB / 0.7912 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.5623, allocations: 366.5 kB / 0.7916 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005848/0.5682, allocations: 4.933 MB / 0.7964 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.5687, allocations: 0.9373 MB / 0.7973 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005789/0.5692, allocations: 180.8 kB / 0.7975 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.5695, allocations: 219.3 kB / 0.7977 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.5695, allocations: 0 / 0.7977 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8245/1.394, allocations: 16.54 MB / 0.8139 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000306/1.394, allocations: 215.1 kB / 0.8141 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.102/3.496, allocations: 3.938 kB / 0.8141 GB, free: 1.059 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)