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.0009273/0.000927, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001075/0.001075, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.2 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.012/1.012, allocations: 135.3 MB / 426.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003398, allocations: 8 kB / 0.5071 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1824, allocations: 82.32 MB / 0.5875 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.5144/0.6968, allocations: 166.6 MB / 0.7502 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007944/0.7048, allocations: 4.566 MB / 0.7547 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.7059, allocations: 25.06 kB / 0.7547 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.707, allocations: 294.3 kB / 0.755 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003099/0.7101, allocations: 1.026 MB / 0.756 GB, free: 316 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002176/0.7123, allocations: 0.5965 MB / 0.7565 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003314/0.7156, allocations: 2.14 MB / 0.7586 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008371/0.7164, allocations: 446.2 kB / 0.7591 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.7182, allocations: 0.7196 MB / 0.7598 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008116/0.719, allocations: 0.5174 MB / 0.7603 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.369e-05/0.7191, allocations: 24 kB / 0.7603 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002194/0.7213, allocations: 0.8691 MB / 0.7611 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002619/0.7216, allocations: 227.2 kB / 0.7614 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000253/0.7218, allocations: 173.3 kB / 0.7615 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.7231, allocations: 0.9548 MB / 0.7625 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7231, allocations: 0 / 0.7625 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7231, allocations: 0 / 0.7625 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.7231, allocations: 0 / 0.7625 GB, free: 9.867 MB / 0.5762 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.001637/0.7248, allocations: 0.9721 MB / 0.7634 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.7248, allocations: 12.03 kB / 0.7634 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.7249, allocations: 86.52 kB / 0.7635 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.7262, allocations: 206.9 kB / 0.7637 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009478/0.7272, allocations: 0.5696 MB / 0.7642 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/0.7272, allocations: 37 kB / 0.7643 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.709e-05/0.7273, allocations: 51.94 kB / 0.7643 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009558/0.7283, allocations: 496.4 kB / 0.7648 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.7283, allocations: 4 kB / 0.7648 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.157e-05/0.7284, allocations: 27.98 kB / 0.7648 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.7284, allocations: 13 kB / 0.7649 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007837/0.7292, allocations: 447.7 kB / 0.7653 GB, free: 6.875 MB / 0.5762 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.002852/0.7321, allocations: 1.998 MB / 0.7672 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005884/0.7327, allocations: 351.5 kB / 0.7676 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/0.7331, allocations: 214.5 kB / 0.7678 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003227/0.7334, allocations: 194.4 kB / 0.768 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.7334, allocations: 38.84 kB / 0.768 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.425e-06/0.7334, allocations: 0 / 0.768 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001337/0.7348, allocations: 0.5572 MB / 0.7685 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.7348, allocations: 55.41 kB / 0.7686 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005897/0.7354, allocations: 0.4991 MB / 0.7691 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.32e-05/0.7355, allocations: 41.64 kB / 0.7691 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.7357, allocations: 304.2 kB / 0.7694 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.7359, allocations: 114.3 kB / 0.7695 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.7359, allocations: 12 kB / 0.7695 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.7361, allocations: 358.8 kB / 0.7699 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/0.7364, allocations: 136.6 kB / 0.77 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003563/0.7367, allocations: 220.9 kB / 0.7702 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.737, allocations: 167.9 kB / 0.7704 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7371, allocations: 0 / 0.7704 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000754/0.7378, allocations: 433.5 kB / 0.7708 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.7379, allocations: 120 kB / 0.7709 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.7379, allocations: 0 / 0.7709 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.738, allocations: 4 kB / 0.7709 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/0.7383, allocations: 79.98 kB / 0.771 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.7384, allocations: 4 kB / 0.771 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/0.7389, allocations: 63.55 kB / 0.771 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.7389, allocations: 16 kB / 0.7711 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.645e-06/0.7389, allocations: 4 kB / 0.7711 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006204/0.7396, allocations: 357 kB / 0.7714 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.7396, allocations: 3.688 kB / 0.7714 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.679e-06/0.7396, allocations: 4 kB / 0.7714 GB, free: 284 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.7399, allocations: 67.91 kB / 0.7715 GB, free: 216 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.7399, allocations: 4 kB / 0.7715 GB, free: 212 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004462/0.7403, allocations: 66.52 kB / 0.7715 GB, free: 148 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.7404, allocations: 15.95 kB / 0.7716 GB, free: 132 kB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003596/0.7407, allocations: 289 kB / 0.7718 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.983e-05/0.7408, allocations: 59.33 kB / 0.7719 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007863/0.7416, allocations: 432.1 kB / 0.7723 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.7417, allocations: 4 kB / 0.7723 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7417, allocations: 0 / 0.7723 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006328/0.7423, allocations: 444.2 kB / 0.7727 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.7441, allocations: 1.183 MB / 0.7739 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.7441, allocations: 4 kB / 0.7739 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003994/0.7445, allocations: 87.89 kB / 0.774 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.7445, allocations: 16.08 kB / 0.774 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.7445, allocations: 8 kB / 0.774 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.7446, allocations: 4 kB / 0.774 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.7446, allocations: 3.984 kB / 0.774 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.7457, allocations: 0.7346 MB / 0.7747 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002727/0.7459, allocations: 180.4 kB / 0.7749 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.955e-05/0.746, allocations: 11.95 kB / 0.7749 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004627/0.7465, allocations: 55.8 kB / 0.775 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.165e-05/0.7466, allocations: 23.97 kB / 0.775 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.7466, allocations: 12 kB / 0.775 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004026/0.747, allocations: 358.8 kB / 0.7753 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.747, allocations: 0 / 0.7753 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008702/0.7479, allocations: 323.3 kB / 0.7756 GB, free: 11.77 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001722/0.7496, allocations: 1.383 MB / 0.777 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001024/0.7507, allocations: 0.5314 MB / 0.7775 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7507, allocations: 0 / 0.7775 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003076/0.751, allocations: 184.3 kB / 0.7777 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/0.7527, allocations: 376.3 kB / 0.778 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005212/0.758, allocations: 3.554 MB / 0.7815 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006034/0.7586, allocations: 0.9296 MB / 0.7824 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007151/0.7593, allocations: 184.2 kB / 0.7826 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003218/0.7597, allocations: 219.4 kB / 0.7828 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of SimCode: time 1.022e-06/0.7597, allocations: 0 / 0.7828 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03426/0.7939, allocations: 16.69 MB / 0.7991 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/0.7942, allocations: 202 kB / 0.7993 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.135/2.929, allocations: 0 / 0.7993 GB, free: 3.676 MB / 0.6075 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/linux/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) Environment - environmentSimulation: