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.00525/0.00525, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001178/0.001178, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7262/0.7262, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 66.45 kB / 0.5808 GB, free: 1.141 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1532, allocations: 80.21 MB / 0.6592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.5725/0.7257, allocations: 183.2 MB / 0.8381 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.006973/0.7328, allocations: 4.872 MB / 0.8429 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.7338, allocations: 28.59 kB / 0.8429 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.7352, allocations: 435.2 kB / 0.8433 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003557/0.7388, allocations: 1.409 MB / 0.8447 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001892/0.7407, allocations: 0.7791 MB / 0.8454 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001928/0.7427, allocations: 1.841 MB / 0.8472 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006514/0.7433, allocations: 0.6027 MB / 0.8478 GB, free: 2.527 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/0.7448, allocations: 0.8871 MB / 0.8487 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009561/0.7457, allocations: 0.5414 MB / 0.8492 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 8.276e-05/0.7458, allocations: 59.56 kB / 0.8493 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002107/0.748, allocations: 1.409 MB / 0.8507 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002456/0.7482, allocations: 266.1 kB / 0.8509 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003902/0.7486, allocations: 402.3 kB / 0.8513 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.7503, allocations: 1.431 MB / 0.8527 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7503, allocations: 1.094 kB / 0.8527 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.504e-06/0.7503, allocations: 0 / 0.8527 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.7503, allocations: 3.094 kB / 0.8527 GB, free: 2.391 MB / 0.6387 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.001387/0.7517, allocations: 1.101 MB / 0.8538 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.7517, allocations: 10.16 kB / 0.8538 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.383e-05/0.7518, allocations: 87.34 kB / 0.8539 GB, free: 1.68 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.753, allocations: 206.7 kB / 0.8541 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007794/0.7538, allocations: 0.6238 MB / 0.8547 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.7539, allocations: 36.31 kB / 0.8547 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.974e-05/0.7539, allocations: 46.06 kB / 0.8547 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007267/0.7547, allocations: 0.4914 MB / 0.8552 GB, free: 1.305 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.7547, allocations: 3.906 kB / 0.8552 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.502e-05/0.7547, allocations: 19.94 kB / 0.8552 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.7548, allocations: 16.7 kB / 0.8553 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006327/0.7554, allocations: 440.8 kB / 0.8557 GB, free: 1.293 MB / 0.6387 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.002089/0.7575, allocations: 1.997 MB / 0.8576 GB, free: 16.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/0.758, allocations: 342.5 kB / 0.858 GB, free: 16.28 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/0.7583, allocations: 213.1 kB / 0.8582 GB, free: 16.27 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002573/0.7585, allocations: 191.1 kB / 0.8583 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.7586, allocations: 37.41 kB / 0.8584 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.7586, allocations: 0 / 0.8584 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.001038/0.7596, allocations: 0.5453 MB / 0.8589 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.7597, allocations: 57.12 kB / 0.859 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004489/0.7601, allocations: 0.5069 MB / 0.8595 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.7602, allocations: 35.14 kB / 0.8595 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.7603, allocations: 304.1 kB / 0.8598 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.941e-05/0.7604, allocations: 120.7 kB / 0.8599 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.541e-05/0.7605, allocations: 69.69 kB / 0.86 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.7607, allocations: 365.5 kB / 0.8603 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.7609, allocations: 140.1 kB / 0.8605 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.7612, allocations: 227.5 kB / 0.8607 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000464/0.7616, allocations: 336.5 kB / 0.861 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.7616, allocations: 3.406 kB / 0.861 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006018/0.7622, allocations: 428.8 kB / 0.8614 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.7623, allocations: 6.625 kB / 0.8614 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.7623, allocations: 0 / 0.8614 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.7623, allocations: 2.812 kB / 0.8614 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.7626, allocations: 75.5 kB / 0.8615 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.7626, allocations: 2.75 kB / 0.8615 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003922/0.763, allocations: 38.38 kB / 0.8615 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.7631, allocations: 15.19 kB / 0.8615 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003654/0.7635, allocations: 308.3 kB / 0.8618 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002684/0.7637, allocations: 215.7 kB / 0.862 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004495/0.7642, allocations: 330.8 kB / 0.8624 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.252e-06/0.7642, allocations: 0 / 0.8624 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000594/0.7648, allocations: 427.2 kB / 0.8628 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.664e-06/0.7648, allocations: 8.375 kB / 0.8628 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-06/0.7648, allocations: 1.344 kB / 0.8628 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.567e-06/0.7648, allocations: 2.594 kB / 0.8628 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.7651, allocations: 69.56 kB / 0.8628 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.7651, allocations: 1.906 kB / 0.8628 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.7655, allocations: 38.39 kB / 0.8629 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.7655, allocations: 10.47 kB / 0.8629 GB, free: 14.75 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.0001234/0.7657, allocations: 209.6 kB / 0.8631 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.771e-05/0.7658, allocations: 64.12 kB / 0.8631 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006415/0.7664, allocations: 424.1 kB / 0.8635 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.7664, allocations: 4.156 kB / 0.8636 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.7664, allocations: 0 / 0.8636 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005093/0.767, allocations: 436.6 kB / 0.864 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.7684, allocations: 1.173 MB / 0.8651 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.7684, allocations: 0.8125 kB / 0.8651 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.7688, allocations: 89.77 kB / 0.8652 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/0.7688, allocations: 14.64 kB / 0.8652 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.7688, allocations: 11.44 kB / 0.8652 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.7688, allocations: 4.969 kB / 0.8652 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7688, allocations: 0 / 0.8652 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008737/0.7697, allocations: 0.717 MB / 0.8659 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.7699, allocations: 182.6 kB / 0.8661 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.975e-05/0.77, allocations: 12.88 kB / 0.8661 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004008/0.7704, allocations: 24.27 kB / 0.8661 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.7705, allocations: 30.61 kB / 0.8662 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.7705, allocations: 13.5 kB / 0.8662 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000324/0.7708, allocations: 361.7 kB / 0.8665 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7708, allocations: 0 / 0.8665 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007032/0.7715, allocations: 323 kB / 0.8668 GB, free: 13.47 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.001365/0.7729, allocations: 1.362 MB / 0.8682 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007803/0.7737, allocations: 0.5072 MB / 0.8687 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7737, allocations: 4.062 kB / 0.8687 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002435/0.774, allocations: 181.2 kB / 0.8688 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.7753, allocations: 352 kB / 0.8692 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004965/0.7803, allocations: 4.622 MB / 0.8737 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.7807, allocations: 0.9318 MB / 0.8746 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004948/0.7812, allocations: 177.7 kB / 0.8748 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/0.7815, allocations: 220.1 kB / 0.875 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of SimCode: time 3.7e-07/0.7815, allocations: 0 / 0.875 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03829/0.8198, allocations: 17.15 MB / 0.8917 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/8.924, allocations: 14.23 kB / 0.8917 GB, free: 4.699 MB / 0.6544 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)