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.01165/0.01165, allocations: 103.5 kB / 15.73 MB, free: 6.043 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.002082/0.002082, allocations: 201.8 kB / 16.68 MB, free: 5.98 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9923/0.9923, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 59.91 kB / 0.5851 GB, free: 3.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4328, allocations: 80.92 MB / 0.6641 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.2073/0.6401, allocations: 183.2 MB / 0.8431 GB, free: 9.711 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009032/0.6492, allocations: 4.867 MB / 0.8478 GB, free: 4.832 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.6504, allocations: 31.81 kB / 0.8479 GB, free: 4.801 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.6519, allocations: 433.3 kB / 0.8483 GB, free: 4.375 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004573/0.6565, allocations: 1.404 MB / 0.8496 GB, free: 2.965 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002679/0.6592, allocations: 0.7833 MB / 0.8504 GB, free: 2.188 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002681/0.6619, allocations: 1.848 MB / 0.8522 GB, free: 340 kB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.663, allocations: 0.6095 MB / 0.8528 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002017/0.665, allocations: 0.8755 MB / 0.8537 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.6663, allocations: 0.5446 MB / 0.8542 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.6664, allocations: 60 kB / 0.8543 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003012/0.6695, allocations: 1.411 MB / 0.8556 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003338/0.6698, allocations: 267.2 kB / 0.8559 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005024/0.6703, allocations: 402.1 kB / 0.8563 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002532/0.6729, allocations: 1.43 MB / 0.8577 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.6729, allocations: 0 / 0.8577 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6729, allocations: 0 / 0.8577 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.6729, allocations: 0 / 0.8577 GB, free: 10.72 MB / 0.6856 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.001872/0.6748, allocations: 1.102 MB / 0.8587 GB, free: 9.566 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.6748, allocations: 8.031 kB / 0.8587 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/0.675, allocations: 90.45 kB / 0.8588 GB, free: 9.461 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/0.6763, allocations: 206.9 kB / 0.859 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.6774, allocations: 0.6161 MB / 0.8596 GB, free: 8.602 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.201e-05/0.6774, allocations: 37 kB / 0.8597 GB, free: 8.566 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.709e-05/0.6775, allocations: 55.94 kB / 0.8597 GB, free: 8.512 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008927/0.6784, allocations: 498.3 kB / 0.8602 GB, free: 8.023 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.6785, allocations: 3.938 kB / 0.8602 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.067e-05/0.6785, allocations: 20 kB / 0.8602 GB, free: 8 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/0.6786, allocations: 20.94 kB / 0.8602 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007843/0.6793, allocations: 431.7 kB / 0.8607 GB, free: 7.559 MB / 0.6856 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.00279/0.6821, allocations: 2.002 MB / 0.8626 GB, free: 5.379 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005831/0.6827, allocations: 349.1 kB / 0.8629 GB, free: 5.031 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/0.6831, allocations: 205.3 kB / 0.8631 GB, free: 4.828 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002975/0.6834, allocations: 194.4 kB / 0.8633 GB, free: 4.602 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.6834, allocations: 42.78 kB / 0.8634 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=33): time 2.204e-06/0.6835, allocations: 4 kB / 0.8634 GB, free: 4.547 MB / 0.6856 GB Notification: Performance of matching and sorting (n=33): time 0.001317/0.6848, allocations: 0.5377 MB / 0.8639 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.6848, allocations: 55.41 kB / 0.8639 GB, free: 3.938 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006188/0.6855, allocations: 0.5107 MB / 0.8644 GB, free: 3.418 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.6855, allocations: 37.64 kB / 0.8645 GB, free: 3.375 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/0.6858, allocations: 304.2 kB / 0.8648 GB, free: 3.074 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.6859, allocations: 118.2 kB / 0.8649 GB, free: 2.957 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.686, allocations: 70.03 kB / 0.8649 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.6862, allocations: 362.8 kB / 0.8653 GB, free: 2.52 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.6865, allocations: 146 kB / 0.8654 GB, free: 2.375 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000352/0.6868, allocations: 220.5 kB / 0.8656 GB, free: 2.133 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006086/0.6875, allocations: 336 kB / 0.866 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.6875, allocations: 0 / 0.866 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007773/0.6883, allocations: 422.5 kB / 0.8664 GB, free: 1.375 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.6883, allocations: 13.97 kB / 0.8664 GB, free: 1.363 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.6883, allocations: 0 / 0.8664 GB, free: 1.363 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.6883, allocations: 4 kB / 0.8664 GB, free: 1.359 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/0.6887, allocations: 75.89 kB / 0.8665 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.6887, allocations: 4.094 kB / 0.8665 GB, free: 1.281 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004652/0.6892, allocations: 31.73 kB / 0.8665 GB, free: 1.25 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.6892, allocations: 16 kB / 0.8665 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000471/0.6897, allocations: 308 kB / 0.8668 GB, free: 0.9297 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003562/0.6901, allocations: 220.8 kB / 0.867 GB, free: 0.6875 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005863/0.6907, allocations: 335.3 kB / 0.8673 GB, free: 356 kB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.6907, allocations: 0 / 0.8673 GB, free: 356 kB / 0.6856 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.3433/1.034, allocations: 416.9 kB / 0.8677 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/1.034, allocations: 6.938 kB / 0.8677 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.034, allocations: 4.875 kB / 0.8677 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/1.034, allocations: 2 kB / 0.8677 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/1.034, allocations: 70.44 kB / 0.8678 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/1.034, allocations: 2.859 kB / 0.8678 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006295/1.035, allocations: 37.92 kB / 0.8678 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/1.035, allocations: 13.31 kB / 0.8679 GB, free: 193.7 MB / 0.6856 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.0001742/1.035, allocations: 207.8 kB / 0.8681 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/1.035, allocations: 63.09 kB / 0.8681 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/1.036, allocations: 420.2 kB / 0.8685 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.037, allocations: 4.641 kB / 0.8685 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.037, allocations: 0 / 0.8685 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006385/1.037, allocations: 436 kB / 0.8689 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/1.039, allocations: 1.177 MB / 0.8701 GB, free: 192.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/1.039, allocations: 5.719 kB / 0.8701 GB, free: 192.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004636/1.04, allocations: 85.94 kB / 0.8702 GB, free: 192.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/1.04, allocations: 5.312 kB / 0.8702 GB, free: 192.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/1.04, allocations: 9.125 kB / 0.8702 GB, free: 192.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.607e-06/1.04, allocations: 6.297 kB / 0.8702 GB, free: 192.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.04, allocations: 7.172 kB / 0.8702 GB, free: 192.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/1.041, allocations: 0.72 MB / 0.8709 GB, free: 192.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003173/1.042, allocations: 183 kB / 0.8711 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.09e-05/1.042, allocations: 13.11 kB / 0.8711 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004498/1.042, allocations: 29.77 kB / 0.8711 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.973e-05/1.042, allocations: 27.03 kB / 0.8711 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/1.042, allocations: 16.02 kB / 0.8712 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005574/1.043, allocations: 360.9 kB / 0.8715 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.7e-07/1.043, allocations: 0 / 0.8715 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009957/1.044, allocations: 328.4 kB / 0.8718 GB, free: 192.1 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.001644/1.045, allocations: 1.334 MB / 0.8731 GB, free: 191.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001219/1.047, allocations: 0.527 MB / 0.8736 GB, free: 191 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/1.047, allocations: 0.8438 kB / 0.8736 GB, free: 191 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003343/1.047, allocations: 185.3 kB / 0.8738 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/1.049, allocations: 356.3 kB / 0.8742 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006568/1.055, allocations: 4.628 MB / 0.8787 GB, free: 188.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/1.056, allocations: 0.9312 MB / 0.8796 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006867/1.056, allocations: 182.6 kB / 0.8798 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/1.057, allocations: 223.7 kB / 0.88 GB, free: 187.4 MB / 0.6856 GB Notification: Performance of SimCode: time 7.91e-07/1.057, allocations: 0 / 0.88 GB, free: 187.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04207/1.099, allocations: 17.14 MB / 0.8967 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.708/9.807, allocations: 9.312 kB / 0.8967 GB, free: 179.1 MB / 0.6856 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)