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.001037/0.001037, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001082/0.001082, allocations: 192.2 kB / 16.13 MB, free: 6.656 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.232/1.232, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.835/0.835, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001125, allocations: 60.78 kB / 0.5048 GB, free: 5.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1285, allocations: 80.93 MB / 0.5838 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.3599/0.4885, allocations: 181 MB / 0.7605 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00643/0.4949, allocations: 4.926 MB / 0.7654 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005829/0.4955, allocations: 27.81 kB / 0.7654 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009706/0.4965, allocations: 378 kB / 0.7657 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002617/0.4992, allocations: 1.327 MB / 0.767 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.5006, allocations: 0.6934 MB / 0.7677 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002183/0.5028, allocations: 2.531 MB / 0.7702 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006685/0.5035, allocations: 0.5108 MB / 0.7707 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.505, allocations: 0.7741 MB / 0.7714 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.506, allocations: 0.5559 MB / 0.772 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.5062, allocations: 36 kB / 0.772 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002199/0.5084, allocations: 1.609 MB / 0.7736 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.5086, allocations: 243.2 kB / 0.7738 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003884/0.509, allocations: 374 kB / 0.7742 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001713/0.5107, allocations: 1.464 MB / 0.7756 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5108, allocations: 0 / 0.7756 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of FrontEnd: time 7.21e-07/0.5108, allocations: 0 / 0.7756 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.646e-05/0.5108, allocations: 0 / 0.7756 GB, free: 8.949 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.001577/0.5124, allocations: 1.102 MB / 0.7767 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.5124, allocations: 8.031 kB / 0.7767 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.481e-05/0.5125, allocations: 90.52 kB / 0.7768 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.5137, allocations: 214.8 kB / 0.777 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007735/0.5145, allocations: 0.5809 MB / 0.7776 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.5146, allocations: 33 kB / 0.7776 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.5146, allocations: 48 kB / 0.7776 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007824/0.5154, allocations: 0.4944 MB / 0.7781 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.5154, allocations: 4 kB / 0.7781 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.155e-05/0.5155, allocations: 16 kB / 0.7781 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/0.5155, allocations: 20.94 kB / 0.7782 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007159/0.5162, allocations: 435.7 kB / 0.7786 GB, free: 5.82 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.002257/0.5185, allocations: 1.998 MB / 0.7805 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005045/0.519, allocations: 344.6 kB / 0.7808 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.5193, allocations: 214.5 kB / 0.7811 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002458/0.5196, allocations: 202.3 kB / 0.7812 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.5196, allocations: 39.72 kB / 0.7813 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.333e-06/0.5196, allocations: 0 / 0.7813 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001102/0.5207, allocations: 0.5385 MB / 0.7818 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.5208, allocations: 55.41 kB / 0.7819 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004846/0.5213, allocations: 0.503 MB / 0.7824 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.5213, allocations: 37.7 kB / 0.7824 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.5215, allocations: 304.2 kB / 0.7827 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.731e-05/0.5216, allocations: 122.3 kB / 0.7828 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.851e-05/0.5217, allocations: 69.92 kB / 0.7829 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5218, allocations: 362.8 kB / 0.7832 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.5221, allocations: 142.1 kB / 0.7833 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.5224, allocations: 227.8 kB / 0.7836 GB, free: 412 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005066/0.5229, allocations: 332.1 kB / 0.7839 GB, free: 68 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.5229, allocations: 4 kB / 0.7839 GB, free: 64 kB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006743/0.5236, allocations: 425.9 kB / 0.7843 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.5236, allocations: 4 kB / 0.7843 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5236, allocations: 0 / 0.7843 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.5236, allocations: 7.938 kB / 0.7843 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.5239, allocations: 73.41 kB / 0.7844 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.524, allocations: 0 / 0.7844 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004843/0.5245, allocations: 63.73 kB / 0.7844 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.5245, allocations: 12 kB / 0.7844 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003834/0.5249, allocations: 308 kB / 0.7847 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002744/0.5252, allocations: 220.7 kB / 0.7849 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004863/0.5257, allocations: 336 kB / 0.7853 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/0.5257, allocations: 3.938 kB / 0.7853 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006186/0.5263, allocations: 416.7 kB / 0.7857 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.424e-06/0.5263, allocations: 4 kB / 0.7857 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.5263, allocations: 4 kB / 0.7857 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.787e-06/0.5263, allocations: 8.078 kB / 0.7857 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.5266, allocations: 75.84 kB / 0.7858 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.5266, allocations: 0 / 0.7858 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004554/0.5271, allocations: 59.64 kB / 0.7858 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.5271, allocations: 16 kB / 0.7858 GB, free: 14.01 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.000108/0.5272, allocations: 192.2 kB / 0.786 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.185e-05/0.5273, allocations: 67.03 kB / 0.7861 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006737/0.528, allocations: 427.2 kB / 0.7865 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.528, allocations: 4 kB / 0.7865 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.528, allocations: 4 kB / 0.7865 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005423/0.5286, allocations: 432.2 kB / 0.7869 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.5301, allocations: 1.171 MB / 0.788 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.5301, allocations: 0 / 0.788 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003905/0.5305, allocations: 91.88 kB / 0.7881 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.5305, allocations: 4 kB / 0.7881 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.5306, allocations: 8 kB / 0.7881 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.5306, allocations: 7.938 kB / 0.7882 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5306, allocations: 0 / 0.7882 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009304/0.5315, allocations: 0.7354 MB / 0.7889 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/0.5317, allocations: 180.2 kB / 0.789 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-05/0.5318, allocations: 8 kB / 0.7891 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004679/0.5323, allocations: 43.95 kB / 0.7891 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.5323, allocations: 27.91 kB / 0.7891 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/0.5324, allocations: 19.98 kB / 0.7891 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000341/0.5327, allocations: 358.8 kB / 0.7895 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5327, allocations: 0 / 0.7895 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006918/0.5334, allocations: 327.2 kB / 0.7898 GB, free: 9.785 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.001391/0.5348, allocations: 1.367 MB / 0.7911 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008382/0.5357, allocations: 0.5005 MB / 0.7916 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5357, allocations: 384 / 0.7916 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002728/0.5359, allocations: 183.7 kB / 0.7918 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.5375, allocations: 378.9 kB / 0.7922 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005628/0.5432, allocations: 4.941 MB / 0.797 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.5436, allocations: 0.9296 MB / 0.7979 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005685/0.5442, allocations: 177 kB / 0.7981 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.5445, allocations: 215.4 kB / 0.7983 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.5445, allocations: 0 / 0.7983 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5688/1.113, allocations: 16.29 MB / 0.8142 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002543/1.114, allocations: 211.4 kB / 0.8144 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.993/3.107, allocations: 0 / 0.8144 GB, free: 0.6523 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)