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.001127/0.001127, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9422/0.9422, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 68.8 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1344, allocations: 80.92 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.3945/0.529, allocations: 183.2 MB / 0.7634 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007398/0.5364, allocations: 4.857 MB / 0.7681 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009489/0.5374, allocations: 31.81 kB / 0.7682 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.5386, allocations: 437.3 kB / 0.7686 GB, free: 324 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00323/0.5419, allocations: 1.412 MB / 0.77 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.5438, allocations: 0.7676 MB / 0.7707 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002084/0.5459, allocations: 1.834 MB / 0.7725 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008359/0.5467, allocations: 0.6095 MB / 0.7731 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.5484, allocations: 0.86 MB / 0.7739 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.5495, allocations: 0.5481 MB / 0.7745 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.5496, allocations: 63.94 kB / 0.7745 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002316/0.5519, allocations: 1.407 MB / 0.7759 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002616/0.5522, allocations: 267.2 kB / 0.7762 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004449/0.5526, allocations: 402.1 kB / 0.7766 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002086/0.5547, allocations: 1.406 MB / 0.7779 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.5548, allocations: 0 / 0.7779 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5548, allocations: 4 kB / 0.7779 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.153e-05/0.5548, allocations: 0 / 0.7779 GB, free: 6.727 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.001814/0.5566, allocations: 1.102 MB / 0.779 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.5567, allocations: 12.03 kB / 0.779 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/0.5568, allocations: 86.47 kB / 0.7791 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/0.5581, allocations: 214.8 kB / 0.7793 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009086/0.559, allocations: 0.5887 MB / 0.7799 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.5591, allocations: 37 kB / 0.7799 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.112e-05/0.5592, allocations: 48 kB / 0.78 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008651/0.56, allocations: 495 kB / 0.7804 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.5601, allocations: 3.984 kB / 0.7804 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.207e-05/0.5601, allocations: 20 kB / 0.7805 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.5602, allocations: 20.94 kB / 0.7805 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007704/0.5609, allocations: 435.7 kB / 0.7809 GB, free: 3.594 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.002607/0.5635, allocations: 2.013 MB / 0.7829 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005499/0.5641, allocations: 349.8 kB / 0.7832 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/0.5645, allocations: 205.3 kB / 0.7834 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002881/0.5648, allocations: 194.5 kB / 0.7836 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.5648, allocations: 38.84 kB / 0.7836 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.733e-06/0.5648, allocations: 0 / 0.7836 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001294/0.5661, allocations: 0.5415 MB / 0.7841 GB, free: 36 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.5662, allocations: 59.41 kB / 0.7842 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000583/0.5668, allocations: 0.5069 MB / 0.7847 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.5668, allocations: 33.7 kB / 0.7847 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.567, allocations: 304.2 kB / 0.785 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.5671, allocations: 122.2 kB / 0.7851 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.5673, allocations: 73.92 kB / 0.7852 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5674, allocations: 362.8 kB / 0.7855 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.5677, allocations: 146.1 kB / 0.7857 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.5681, allocations: 216.2 kB / 0.7859 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005752/0.5686, allocations: 336.1 kB / 0.7862 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5687, allocations: 0 / 0.7862 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007379/0.5694, allocations: 426.5 kB / 0.7866 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.5694, allocations: 4 kB / 0.7866 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.5694, allocations: 4 kB / 0.7866 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.5695, allocations: 3.938 kB / 0.7866 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/0.5698, allocations: 71.91 kB / 0.7867 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.5698, allocations: 7.938 kB / 0.7867 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004815/0.5703, allocations: 42.05 kB / 0.7867 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.18e-05/0.5704, allocations: 12 kB / 0.7868 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004392/0.5708, allocations: 308 kB / 0.7871 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003229/0.5711, allocations: 220.7 kB / 0.7873 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005484/0.5717, allocations: 331.4 kB / 0.7876 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.393e-06/0.5717, allocations: 4 kB / 0.7876 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007032/0.5724, allocations: 416.5 kB / 0.788 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.5724, allocations: 8 kB / 0.788 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-06/0.5724, allocations: 0 / 0.788 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-06/0.5724, allocations: 4.094 kB / 0.788 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.5728, allocations: 83.27 kB / 0.7881 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.5728, allocations: 7.938 kB / 0.7881 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/0.5732, allocations: 27.83 kB / 0.7881 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.5733, allocations: 12 kB / 0.7881 GB, free: 11.82 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.0001361/0.5734, allocations: 205.5 kB / 0.7883 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.5735, allocations: 63.23 kB / 0.7884 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007761/0.5743, allocations: 431.8 kB / 0.7888 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.5743, allocations: 4 kB / 0.7888 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5743, allocations: 0 / 0.7888 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005963/0.5749, allocations: 432.2 kB / 0.7892 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.5766, allocations: 1.172 MB / 0.7903 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.5767, allocations: 7.938 kB / 0.7904 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000419/0.5771, allocations: 84.02 kB / 0.7904 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.5771, allocations: 8 kB / 0.7904 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.5771, allocations: 8 kB / 0.7904 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.5772, allocations: 7.984 kB / 0.7905 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5772, allocations: 4 kB / 0.7905 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.5782, allocations: 0.7266 MB / 0.7912 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/0.5784, allocations: 176.4 kB / 0.7913 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.598e-05/0.5785, allocations: 8 kB / 0.7913 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004605/0.579, allocations: 34.2 kB / 0.7914 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.864e-05/0.5791, allocations: 23.91 kB / 0.7914 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.5791, allocations: 12 kB / 0.7914 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003958/0.5795, allocations: 366.8 kB / 0.7918 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5795, allocations: 0 / 0.7918 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008155/0.5803, allocations: 315.3 kB / 0.7921 GB, free: 7.613 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.00158/0.5819, allocations: 1.373 MB / 0.7934 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.583, allocations: 0.5356 MB / 0.7939 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.583, allocations: 0 / 0.7939 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003051/0.5833, allocations: 188.3 kB / 0.7941 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/0.5849, allocations: 355.6 kB / 0.7944 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005913/0.5908, allocations: 4.729 MB / 0.7991 GB, free: 320 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.5913, allocations: 0.9334 MB / 0.8 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006131/0.5919, allocations: 176.8 kB / 0.8001 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002889/0.5922, allocations: 219.4 kB / 0.8004 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of SimCode: time 5.11e-07/0.5922, allocations: 4 kB / 0.8004 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.971/2.563, allocations: 16.74 MB / 0.8167 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/15.2, allocations: 3.781 kB / 0.8167 GB, free: 14.47 MB / 0.6387 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)