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.001067/0.001066, 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.001228/0.001228, allocations: 196.2 kB / 16.53 MB, free: 6.699 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7251/0.7251, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 64.33 kB / 0.5019 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3501, allocations: 80.19 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.1788/0.5289, allocations: 183.2 MB / 0.7591 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006583/0.5356, allocations: 4.865 MB / 0.7639 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005904/0.5362, allocations: 31.81 kB / 0.7639 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009758/0.5372, allocations: 441.3 kB / 0.7643 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002742/0.5399, allocations: 1.41 MB / 0.7657 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.5416, allocations: 0.7654 MB / 0.7665 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001725/0.5433, allocations: 1.836 MB / 0.7682 GB, free: 280 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006848/0.544, allocations: 0.6057 MB / 0.7688 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.5454, allocations: 0.8677 MB / 0.7697 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009124/0.5463, allocations: 0.543 MB / 0.7702 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.5464, allocations: 56 kB / 0.7703 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002104/0.5485, allocations: 1.411 MB / 0.7716 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002423/0.5488, allocations: 263.2 kB / 0.7719 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000382/0.5491, allocations: 398.1 kB / 0.7723 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.5509, allocations: 1.418 MB / 0.7737 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.5509, allocations: 0 / 0.7737 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5509, allocations: 0 / 0.7737 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.008e-05/0.551, allocations: 0 / 0.7737 GB, free: 10.7 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.001726/0.5527, allocations: 1.094 MB / 0.7747 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.5527, allocations: 8.031 kB / 0.7747 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001024/0.5528, allocations: 86.52 kB / 0.7748 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.5541, allocations: 210.8 kB / 0.775 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008172/0.555, allocations: 0.5848 MB / 0.7756 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/0.555, allocations: 40.94 kB / 0.7756 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.463e-05/0.5551, allocations: 48 kB / 0.7757 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008075/0.5559, allocations: 498.3 kB / 0.7762 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.5559, allocations: 0 / 0.7762 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.895e-05/0.556, allocations: 27.94 kB / 0.7762 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.556, allocations: 13 kB / 0.7762 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007326/0.5567, allocations: 439.7 kB / 0.7766 GB, free: 7.574 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.5591, allocations: 2.013 MB / 0.7786 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000507/0.5596, allocations: 353 kB / 0.7789 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.5599, allocations: 208.5 kB / 0.7791 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002588/0.5602, allocations: 198.5 kB / 0.7793 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.5602, allocations: 34.84 kB / 0.7793 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.673e-06/0.5602, allocations: 0 / 0.7793 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.001144/0.5614, allocations: 0.546 MB / 0.7799 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.174e-05/0.5615, allocations: 55.41 kB / 0.7799 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005075/0.562, allocations: 0.5069 MB / 0.7804 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.562, allocations: 29.7 kB / 0.7804 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.5622, allocations: 300.2 kB / 0.7807 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.629e-05/0.5623, allocations: 126.2 kB / 0.7809 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.5624, allocations: 69.94 kB / 0.7809 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.5626, allocations: 370.8 kB / 0.7813 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/0.5629, allocations: 150 kB / 0.7814 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.5632, allocations: 220.8 kB / 0.7816 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005346/0.5638, allocations: 335.2 kB / 0.7819 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5638, allocations: 0 / 0.7819 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007039/0.5645, allocations: 427.3 kB / 0.7824 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.5645, allocations: 11.94 kB / 0.7824 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.5645, allocations: 0 / 0.7824 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.5645, allocations: 4 kB / 0.7824 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.5649, allocations: 71.89 kB / 0.7824 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.5649, allocations: 4 kB / 0.7824 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/0.5653, allocations: 35.23 kB / 0.7825 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.5654, allocations: 19.94 kB / 0.7825 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004/0.5658, allocations: 308 kB / 0.7828 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002849/0.5661, allocations: 211.6 kB / 0.783 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000509/0.5666, allocations: 335.3 kB / 0.7833 GB, free: 356 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.5666, allocations: 0 / 0.7833 GB, free: 356 kB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000655/0.5673, allocations: 416.5 kB / 0.7837 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.5673, allocations: 11.98 kB / 0.7837 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-06/0.5673, allocations: 0 / 0.7837 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.19e-06/0.5673, allocations: 12.03 kB / 0.7837 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.5676, allocations: 67.91 kB / 0.7838 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.5676, allocations: 4 kB / 0.7838 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004319/0.5681, allocations: 42.06 kB / 0.7838 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.5681, allocations: 12 kB / 0.7838 GB, free: 15.79 MB / 0.6231 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.0001197/0.5682, allocations: 204.1 kB / 0.784 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-05/0.5683, allocations: 63.22 kB / 0.7841 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006999/0.569, allocations: 432.2 kB / 0.7845 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.5691, allocations: 4 kB / 0.7845 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.5691, allocations: 0 / 0.7845 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005607/0.5696, allocations: 432.2 kB / 0.7849 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.5714, allocations: 1.169 MB / 0.7861 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5714, allocations: 0 / 0.7861 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004189/0.5718, allocations: 88.06 kB / 0.7862 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/0.5718, allocations: 4 kB / 0.7862 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.5719, allocations: 12 kB / 0.7862 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.5719, allocations: 3.938 kB / 0.7862 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.5719, allocations: 4 kB / 0.7862 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.5729, allocations: 0.7264 MB / 0.7869 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.5732, allocations: 176.5 kB / 0.7871 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-05/0.5733, allocations: 15.98 kB / 0.7871 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004516/0.5738, allocations: 31.97 kB / 0.7871 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.5738, allocations: 27.91 kB / 0.7871 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.5739, allocations: 8 kB / 0.7871 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003848/0.5743, allocations: 366.8 kB / 0.7875 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5743, allocations: 0 / 0.7875 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008042/0.5751, allocations: 327.2 kB / 0.7878 GB, free: 11.57 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.001586/0.5767, allocations: 1.362 MB / 0.7891 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001007/0.5777, allocations: 0.5346 MB / 0.7897 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5777, allocations: 0 / 0.7897 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002943/0.578, allocations: 189 kB / 0.7898 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.5796, allocations: 348.6 kB / 0.7902 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005737/0.5853, allocations: 4.737 MB / 0.7948 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.5858, allocations: 0.9371 MB / 0.7957 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005826/0.5864, allocations: 176.8 kB / 0.7959 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/0.5867, allocations: 219.4 kB / 0.7961 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of SimCode: time 3.7e-07/0.5867, allocations: 4 kB / 0.7961 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8828/1.469, allocations: 16.74 MB / 0.8124 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/12.08, allocations: 3.984 kB / 0.8124 GB, free: 2.422 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)