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.009314/0.009314, allocations: 102.1 kB / 15.73 MB, free: 6.035 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.002387/0.002387, allocations: 199.2 kB / 16.68 MB, free: 5.957 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7971/0.7971, allocations: 135.1 MB / 425.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 69.78 kB / 0.5851 GB, free: 21.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1631, allocations: 80.92 MB / 0.6641 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.5863/0.7494, allocations: 183.2 MB / 0.8431 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00835/0.7578, allocations: 4.855 MB / 0.8478 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.7591, allocations: 35.94 kB / 0.8479 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.7603, allocations: 432.2 kB / 0.8483 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003988/0.7643, allocations: 1.402 MB / 0.8496 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002549/0.7669, allocations: 0.7881 MB / 0.8504 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003037/0.77, allocations: 1.835 MB / 0.8522 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.771, allocations: 0.6108 MB / 0.8528 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002628/0.7736, allocations: 0.8841 MB / 0.8537 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001869/0.7755, allocations: 0.5419 MB / 0.8542 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002726/0.7758, allocations: 57.56 kB / 0.8542 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00353/0.7794, allocations: 1.417 MB / 0.8556 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000515/0.7799, allocations: 270.8 kB / 0.8559 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009789/0.7809, allocations: 399.9 kB / 0.8563 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003269/0.7842, allocations: 1.422 MB / 0.8577 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.7842, allocations: 0 / 0.8577 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.304e-06/0.7842, allocations: 0 / 0.8577 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.855e-05/0.7843, allocations: 0 / 0.8577 GB, free: 9.102 MB / 0.6231 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.002367/0.7866, allocations: 1.106 MB / 0.8587 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.7867, allocations: 9.109 kB / 0.8587 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001319/0.7868, allocations: 86.52 kB / 0.8588 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001517/0.7884, allocations: 214.8 kB / 0.859 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.7895, allocations: 0.6161 MB / 0.8596 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.7896, allocations: 44.88 kB / 0.8597 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-05/0.7897, allocations: 48 kB / 0.8597 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009487/0.7906, allocations: 498.3 kB / 0.8602 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.7907, allocations: 0 / 0.8602 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.297e-05/0.7907, allocations: 23.94 kB / 0.8602 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/0.7908, allocations: 17 kB / 0.8602 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008297/0.7916, allocations: 431.7 kB / 0.8606 GB, free: 6.195 MB / 0.6231 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.003195/0.7948, allocations: 1.994 MB / 0.8626 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006218/0.7954, allocations: 356 kB / 0.8629 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.7958, allocations: 216.5 kB / 0.8631 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000325/0.7962, allocations: 190.5 kB / 0.8633 GB, free: 3.234 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.7962, allocations: 38.84 kB / 0.8634 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/0.7962, allocations: 0 / 0.8634 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.001401/0.7976, allocations: 0.5526 MB / 0.8639 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.7977, allocations: 55.41 kB / 0.8639 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006224/0.7983, allocations: 0.503 MB / 0.8644 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.205e-05/0.7984, allocations: 33.7 kB / 0.8645 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.7986, allocations: 300.2 kB / 0.8648 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.7987, allocations: 122.3 kB / 0.8649 GB, free: 1.594 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.7989, allocations: 70.03 kB / 0.8649 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.799, allocations: 362.8 kB / 0.8653 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.7993, allocations: 150 kB / 0.8654 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.7996, allocations: 220.5 kB / 0.8656 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005906/0.8002, allocations: 335.6 kB / 0.866 GB, free: 436 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.8003, allocations: 7.938 kB / 0.866 GB, free: 428 kB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008825/0.8011, allocations: 428.6 kB / 0.8664 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.8012, allocations: 5.719 kB / 0.8664 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.8012, allocations: 4.5 kB / 0.8664 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.8012, allocations: 4 kB / 0.8664 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003877/0.8016, allocations: 75.84 kB / 0.8665 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.8016, allocations: 0 / 0.8665 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005395/0.8022, allocations: 46.17 kB / 0.8665 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.8022, allocations: 19.56 kB / 0.8665 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004967/0.8027, allocations: 308 kB / 0.8668 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003194/0.8031, allocations: 212.2 kB / 0.867 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000546/0.8036, allocations: 335.1 kB / 0.8673 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.8036, allocations: 0 / 0.8673 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000765/0.8044, allocations: 424.8 kB / 0.8677 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.8044, allocations: 4 kB / 0.8677 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.8044, allocations: 7.984 kB / 0.8678 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-06/0.8045, allocations: 3.938 kB / 0.8678 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.8048, allocations: 71.91 kB / 0.8678 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.8048, allocations: 0 / 0.8678 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005465/0.8054, allocations: 35.77 kB / 0.8679 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.8054, allocations: 15.98 kB / 0.8679 GB, free: 14.41 MB / 0.6387 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.0001851/0.8056, allocations: 204.2 kB / 0.8681 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.8057, allocations: 59.34 kB / 0.8681 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008333/0.8066, allocations: 426.6 kB / 0.8685 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.8066, allocations: 4 kB / 0.8685 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.8066, allocations: 0 / 0.8685 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006134/0.8072, allocations: 440.5 kB / 0.869 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001891/0.8091, allocations: 1.168 MB / 0.8701 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.8091, allocations: 0 / 0.8701 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004469/0.8096, allocations: 83.89 kB / 0.8702 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/0.8096, allocations: 7.984 kB / 0.8702 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.122e-05/0.8097, allocations: 11.94 kB / 0.8702 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.8097, allocations: 7.938 kB / 0.8702 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.8097, allocations: 0 / 0.8702 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.8108, allocations: 0.7222 MB / 0.8709 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000318/0.8112, allocations: 184.3 kB / 0.8711 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.8113, allocations: 12 kB / 0.8711 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000484/0.8118, allocations: 23.97 kB / 0.8711 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/0.8119, allocations: 27.91 kB / 0.8711 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.8119, allocations: 12 kB / 0.8712 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004958/0.8124, allocations: 362.8 kB / 0.8715 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8124, allocations: 7.938 kB / 0.8715 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001112/0.8135, allocations: 323.3 kB / 0.8718 GB, free: 10.2 MB / 0.6387 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.001831/0.8154, allocations: 1.351 MB / 0.8731 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001017/0.8164, allocations: 0.5162 MB / 0.8736 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.8164, allocations: 0 / 0.8736 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002887/0.8167, allocations: 183.7 kB / 0.8738 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.8183, allocations: 353.5 kB / 0.8742 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006511/0.8248, allocations: 4.613 MB / 0.8787 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006211/0.8255, allocations: 0.9295 MB / 0.8796 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006577/0.8262, allocations: 184.8 kB / 0.8797 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003358/0.8265, allocations: 223.4 kB / 0.88 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of SimCode: time 1.092e-06/0.8265, allocations: 0 / 0.88 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04307/0.8696, allocations: 17.16 MB / 0.8967 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.667/9.537, allocations: 8 kB / 0.8967 GB, free: 0.7227 MB / 0.6544 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)