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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 215.9 kB / 22.25 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.376/1.376, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8131/0.8131, allocations: 134 MB / 446.4 MB, free: 10.22 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 73.38 kB / 0.6185 GB, free: 7.203 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1728, allocations: 85.91 MB / 0.7024 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.564/0.7368, allocations: 187.1 MB / 0.8851 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008272/0.745, allocations: 4.905 MB / 0.8899 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000999/0.746, allocations: 43.62 kB / 0.89 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.7474, allocations: 457.3 kB / 0.8904 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003775/0.7512, allocations: 1.49 MB / 0.8918 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002167/0.7533, allocations: 0.8038 MB / 0.8926 GB, free: 3.758 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002891/0.7562, allocations: 1.899 MB / 0.8945 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009375/0.7572, allocations: 471.4 kB / 0.8949 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.7592, allocations: 0.9262 MB / 0.8958 GB, free: 464 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.7607, allocations: 0.5818 MB / 0.8964 GB, free: 15.88 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001932/0.7609, allocations: 60 kB / 0.8965 GB, free: 15.82 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002774/0.7637, allocations: 1.504 MB / 0.8979 GB, free: 14.31 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004206/0.7641, allocations: 279.1 kB / 0.8982 GB, free: 14.04 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007065/0.7648, allocations: 402.1 kB / 0.8986 GB, free: 13.64 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00272/0.7675, allocations: 1.44 MB / 0.9 GB, free: 12.2 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7675, allocations: 0 / 0.9 GB, free: 12.2 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7675, allocations: 0 / 0.9 GB, free: 12.2 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.122e-05/0.7676, allocations: 0 / 0.9 GB, free: 12.2 MB / 0.67 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.002286/0.7699, allocations: 1.045 MB / 0.901 GB, free: 11.11 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.7699, allocations: 12.03 kB / 0.901 GB, free: 11.1 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001497/0.77, allocations: 90.52 kB / 0.9011 GB, free: 11 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/0.7714, allocations: 211.2 kB / 0.9013 GB, free: 10.8 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.7726, allocations: 0.56 MB / 0.9019 GB, free: 10.21 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.048e-05/0.7726, allocations: 37 kB / 0.9019 GB, free: 10.18 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.475e-05/0.7727, allocations: 44 kB / 0.9019 GB, free: 10.13 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009219/0.7736, allocations: 494.4 kB / 0.9024 GB, free: 9.645 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.7736, allocations: 7.922 kB / 0.9024 GB, free: 9.637 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.909e-05/0.7737, allocations: 27.94 kB / 0.9024 GB, free: 9.609 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/0.7737, allocations: 17 kB / 0.9025 GB, free: 9.594 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000846/0.7746, allocations: 435.7 kB / 0.9029 GB, free: 9.164 MB / 0.67 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.003044/0.7776, allocations: 1.966 MB / 0.9048 GB, free: 7.031 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005881/0.7782, allocations: 321.1 kB / 0.9051 GB, free: 6.711 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/0.7785, allocations: 200.6 kB / 0.9053 GB, free: 6.516 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000229/0.7788, allocations: 36.25 kB / 0.9053 GB, free: 6.48 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.7788, allocations: 38.84 kB / 0.9054 GB, free: 6.434 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 1.833e-06/0.7788, allocations: 0 / 0.9054 GB, free: 6.434 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.001279/0.7801, allocations: 0.5462 MB / 0.9059 GB, free: 5.883 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.7801, allocations: 55.41 kB / 0.9059 GB, free: 5.816 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006181/0.7807, allocations: 0.5069 MB / 0.9064 GB, free: 5.301 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.703e-05/0.7808, allocations: 33.7 kB / 0.9065 GB, free: 5.262 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.7811, allocations: 312.5 kB / 0.9068 GB, free: 4.953 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.7812, allocations: 119 kB / 0.9069 GB, free: 4.836 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.7813, allocations: 81.97 kB / 0.907 GB, free: 4.75 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.7815, allocations: 362.8 kB / 0.9073 GB, free: 4.387 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.7818, allocations: 142.1 kB / 0.9074 GB, free: 4.246 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/0.7821, allocations: 220.5 kB / 0.9077 GB, free: 4.004 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005871/0.7827, allocations: 331.7 kB / 0.908 GB, free: 3.668 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.7827, allocations: 0 / 0.908 GB, free: 3.668 MB / 0.67 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007801/0.7835, allocations: 440.8 kB / 0.9084 GB, free: 3.23 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.7835, allocations: 8 kB / 0.9084 GB, free: 3.223 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.7835, allocations: 3.938 kB / 0.9084 GB, free: 3.219 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.7835, allocations: 4 kB / 0.9084 GB, free: 3.215 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003472/0.7839, allocations: 67.91 kB / 0.9085 GB, free: 3.148 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.7839, allocations: 0 / 0.9085 GB, free: 3.148 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004552/0.7843, allocations: 43.84 kB / 0.9085 GB, free: 3.105 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.7844, allocations: 16 kB / 0.9085 GB, free: 3.09 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004472/0.7848, allocations: 304 kB / 0.9088 GB, free: 2.789 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003293/0.7852, allocations: 212.2 kB / 0.909 GB, free: 2.555 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005631/0.7857, allocations: 343.4 kB / 0.9093 GB, free: 2.207 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.7857, allocations: 0 / 0.9093 GB, free: 2.207 MB / 0.67 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007334/0.7865, allocations: 428.7 kB / 0.9098 GB, free: 1.781 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.7865, allocations: 8.031 kB / 0.9098 GB, free: 1.773 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-06/0.7865, allocations: 0 / 0.9098 GB, free: 1.773 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.7865, allocations: 7.938 kB / 0.9098 GB, free: 1.766 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.7868, allocations: 75.89 kB / 0.9098 GB, free: 1.691 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.7868, allocations: 0 / 0.9098 GB, free: 1.691 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/0.7872, allocations: 35.81 kB / 0.9099 GB, free: 1.656 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.7872, allocations: 12 kB / 0.9099 GB, free: 1.645 MB / 0.67 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.0001602/0.7874, allocations: 206.3 kB / 0.9101 GB, free: 1.438 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.7875, allocations: 63.62 kB / 0.9101 GB, free: 1.375 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000781/0.7883, allocations: 425.6 kB / 0.9106 GB, free: 0.9531 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.7883, allocations: 7.938 kB / 0.9106 GB, free: 0.9453 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.7883, allocations: 0 / 0.9106 GB, free: 0.9453 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006294/0.7889, allocations: 432.3 kB / 0.911 GB, free: 0.4922 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.7908, allocations: 1.146 MB / 0.9121 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.7908, allocations: 4.188 kB / 0.9121 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004082/0.7912, allocations: 87.89 kB / 0.9122 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.7912, allocations: 4.875 kB / 0.9122 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.7913, allocations: 8 kB / 0.9122 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.758e-06/0.7913, allocations: 4 kB / 0.9122 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.7913, allocations: 0 / 0.9122 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.7924, allocations: 0.7342 MB / 0.9129 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/0.7926, allocations: 103.7 kB / 0.913 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.138e-05/0.7927, allocations: 11.98 kB / 0.913 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004347/0.7932, allocations: 29.59 kB / 0.913 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/0.7932, allocations: 27.89 kB / 0.9131 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.7933, allocations: 12 kB / 0.9131 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004428/0.7937, allocations: 362.8 kB / 0.9134 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7937, allocations: 3.938 kB / 0.9134 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008371/0.7945, allocations: 323.4 kB / 0.9137 GB, free: 13.55 MB / 0.6856 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.001615/0.7961, allocations: 1.346 MB / 0.9151 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.000969/0.7971, allocations: 491.5 kB / 0.9155 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.7971, allocations: 4 kB / 0.9155 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.7974, allocations: 176.8 kB / 0.9157 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.7989, allocations: 354.7 kB / 0.916 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006411/0.8053, allocations: 4.646 MB / 0.9206 GB, free: 6.391 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006062/0.806, allocations: 0.9294 MB / 0.9215 GB, free: 5.434 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005365/0.8065, allocations: 180.8 kB / 0.9217 GB, free: 5.254 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003181/0.8068, allocations: 219.4 kB / 0.9219 GB, free: 5.039 MB / 0.6856 GB Notification: Performance of SimCode: time 5.41e-07/0.8068, allocations: 0 / 0.9219 GB, free: 5.039 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05292/0.8597, allocations: 17.25 MB / 0.9387 GB, free: 4.09 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.34, allocations: 9.828 kB / 0.9387 GB, free: 4.086 MB / 0.7012 GB " [Timeout remaining time 648] (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 --stepSize=0.12 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Delays_Examples_Delay.fmu > IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.818075797054917] Failed to read output from testmodel.py, exit status != 0: 12.456795954145491 12.483723177 11.711329412 Calling exit ...