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.0013/0.0013, allocations: 107.6 kB / 18.95 MB, free: 2.809 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.001488/0.001488, allocations: 209.8 kB / 22.24 MB, free: 5.117 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.364/1.364, allocations: 230.6 MB / 256 MB, free: 7.828 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.815/0.815, allocations: 134 MB / 446.4 MB, free: 9.961 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.001926/0.001926, allocations: 70.59 kB / 0.6185 GB, free: 6.895 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.157, allocations: 85.9 MB / 0.7024 GB, free: 1.07 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.538/0.695, allocations: 161.9 MB / 0.8605 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007839/0.7029, allocations: 4.556 MB / 0.8649 GB, free: 12.68 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000772/0.7036, allocations: 43.62 kB / 0.865 GB, free: 12.64 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.7048, allocations: 421.4 kB / 0.8654 GB, free: 12.22 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 0.003351/0.7081, allocations: 1.455 MB / 0.8668 GB, free: 10.76 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.71, allocations: 0.8009 MB / 0.8676 GB, free: 9.969 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.002256/0.7123, allocations: 1.872 MB / 0.8694 GB, free: 8.094 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006937/0.713, allocations: 481.4 kB / 0.8699 GB, free: 7.613 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001684/0.7147, allocations: 0.9146 MB / 0.8708 GB, free: 6.695 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.7159, allocations: 0.5657 MB / 0.8713 GB, free: 6.133 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.716, allocations: 63.94 kB / 0.8714 GB, free: 6.07 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.7181, allocations: 1.153 MB / 0.8725 GB, free: 4.914 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.0003014/0.7184, allocations: 275.2 kB / 0.8728 GB, free: 4.645 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.0003616/0.7188, allocations: 326.5 kB / 0.8731 GB, free: 4.324 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.001886/0.7206, allocations: 1.409 MB / 0.8744 GB, free: 2.914 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.7207, allocations: 0 / 0.8744 GB, free: 2.914 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7207, allocations: 4 kB / 0.8745 GB, free: 2.91 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.7207, allocations: 0 / 0.8745 GB, free: 2.91 MB / 0.6388 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.001701/0.7224, allocations: 1.06 MB / 0.8755 GB, free: 1.812 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.7224, allocations: 11.97 kB / 0.8755 GB, free: 1.801 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/0.7225, allocations: 86.52 kB / 0.8756 GB, free: 1.707 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.7237, allocations: 211.3 kB / 0.8758 GB, free: 1.5 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.7248, allocations: 0.5523 MB / 0.8763 GB, free: 0.9219 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/0.7248, allocations: 41 kB / 0.8764 GB, free: 0.8828 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.199e-05/0.7249, allocations: 44 kB / 0.8764 GB, free: 0.8398 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009624/0.7259, allocations: 0.6373 MB / 0.877 GB, free: 164 kB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.7259, allocations: 0 / 0.877 GB, free: 164 kB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.615e-05/0.7259, allocations: 23.94 kB / 0.877 GB, free: 140 kB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.797e-05/0.726, allocations: 20.98 kB / 0.8771 GB, free: 120 kB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008033/0.7268, allocations: 435.7 kB / 0.8775 GB, free: 15.69 MB / 0.6544 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.00245/0.7292, allocations: 1.32 MB / 0.8788 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000585/0.7298, allocations: 320.6 kB / 0.8791 GB, free: 14 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/0.7301, allocations: 189.3 kB / 0.8793 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002087/0.7303, allocations: 36.25 kB / 0.8793 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.7304, allocations: 38.84 kB / 0.8793 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.7304, allocations: 0 / 0.8793 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.001247/0.7316, allocations: 0.5463 MB / 0.8799 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.7317, allocations: 59.41 kB / 0.8799 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006081/0.7323, allocations: 0.5069 MB / 0.8804 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.293e-05/0.7323, allocations: 33.7 kB / 0.8804 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.7326, allocations: 308.5 kB / 0.8807 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.7327, allocations: 123 kB / 0.8809 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.7328, allocations: 73.98 kB / 0.8809 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002143/0.733, allocations: 366.8 kB / 0.8813 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.7333, allocations: 138.1 kB / 0.8814 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/0.7338, allocations: 396.5 kB / 0.8818 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006093/0.7344, allocations: 343.7 kB / 0.8821 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7344, allocations: 0 / 0.8821 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007561/0.7351, allocations: 432.8 kB / 0.8825 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.7351, allocations: 8.094 kB / 0.8825 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.7351, allocations: 7.938 kB / 0.8825 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.7352, allocations: 3.938 kB / 0.8825 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.7355, allocations: 71.89 kB / 0.8826 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.7355, allocations: 7.938 kB / 0.8826 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004429/0.7359, allocations: 43.75 kB / 0.8827 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.736, allocations: 12 kB / 0.8827 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004517/0.7364, allocations: 300 kB / 0.883 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004298/0.7369, allocations: 400.1 kB / 0.8833 GB, free: 9.406 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000572/0.7374, allocations: 335.4 kB / 0.8837 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/0.7374, allocations: 4.641 kB / 0.8837 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007337/0.7382, allocations: 432.7 kB / 0.8841 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.906e-06/0.7382, allocations: 4 kB / 0.8841 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-06/0.7382, allocations: 4 kB / 0.8841 GB, free: 8.625 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-06/0.7382, allocations: 3.938 kB / 0.8841 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.7385, allocations: 71.89 kB / 0.8842 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.7385, allocations: 7.938 kB / 0.8842 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.7389, allocations: 33.94 kB / 0.8842 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.7389, allocations: 8 kB / 0.8842 GB, free: 8.504 MB / 0.6544 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.0001593/0.7391, allocations: 204.3 kB / 0.8844 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.7392, allocations: 59.62 kB / 0.8845 GB, free: 8.238 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000805/0.74, allocations: 429.6 kB / 0.8849 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.74, allocations: 4 kB / 0.8849 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.74, allocations: 0 / 0.8849 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006309/0.7406, allocations: 432.2 kB / 0.8853 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/0.7425, allocations: 1.076 MB / 0.8863 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.7425, allocations: 0 / 0.8863 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004113/0.7429, allocations: 83.89 kB / 0.8864 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.7429, allocations: 4 kB / 0.8864 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.7429, allocations: 12 kB / 0.8864 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.7429, allocations: 8.188 kB / 0.8864 GB, free: 6.105 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7429, allocations: 0 / 0.8864 GB, free: 6.105 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.744, allocations: 0.7303 MB / 0.8872 GB, free: 5.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002507/0.7443, allocations: 103.6 kB / 0.8873 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.067e-05/0.7444, allocations: 8.875 kB / 0.8873 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000425/0.7448, allocations: 26.55 kB / 0.8873 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.133e-05/0.7449, allocations: 39.83 kB / 0.8873 GB, free: 5.168 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.7449, allocations: 8 kB / 0.8873 GB, free: 5.16 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004359/0.7453, allocations: 366.8 kB / 0.8877 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.7453, allocations: 0 / 0.8877 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008299/0.7462, allocations: 327.3 kB / 0.888 GB, free: 4.484 MB / 0.6544 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.001698/0.7479, allocations: 1.346 MB / 0.8893 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00103/0.7489, allocations: 495.5 kB / 0.8898 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.7489, allocations: 0 / 0.8898 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.7492, allocations: 172 kB / 0.8899 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.7507, allocations: 365 kB / 0.8903 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006678/0.7574, allocations: 4.65 MB / 0.8948 GB, free: 13.32 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.7578, allocations: 336.5 kB / 0.8952 GB, free: 12.96 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005909/0.7584, allocations: 180.8 kB / 0.8953 GB, free: 12.78 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/0.7587, allocations: 215.4 kB / 0.8955 GB, free: 12.57 MB / 0.67 GB Notification: Performance of SimCode: time 1.002e-06/0.7587, allocations: 0 / 0.8955 GB, free: 12.57 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05312/0.8118, allocations: 18.79 MB / 0.9139 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.91, allocations: 12.31 kB / 0.9139 GB, free: 10.19 MB / 0.6856 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.29802806302905] Failed to read output from testmodel.py, exit status != 0: 12.025855475105345 12.040764693 11.317182343 Calling exit ...