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.00676/0.00676, allocations: 101.6 kB / 15.73 MB, free: 6.457 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.001267/0.001267, allocations: 202.4 kB / 16.68 MB, free: 6.355 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9613/0.9613, allocations: 135.6 MB / 426.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 63.91 kB / 0.5857 GB, free: 3.234 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3685, allocations: 81.02 MB / 0.6648 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.2065/0.575, allocations: 183.2 MB / 0.8438 GB, free: 9.043 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008158/0.5832, allocations: 4.876 MB / 0.8485 GB, free: 4.156 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007619/0.584, allocations: 35.81 kB / 0.8486 GB, free: 4.121 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.5852, allocations: 433.4 kB / 0.849 GB, free: 3.695 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003258/0.5885, allocations: 1.408 MB / 0.8504 GB, free: 2.281 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.5906, allocations: 0.7816 MB / 0.8511 GB, free: 1.504 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002379/0.5929, allocations: 1.847 MB / 0.8529 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008467/0.5938, allocations: 0.594 MB / 0.8535 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.5955, allocations: 0.8755 MB / 0.8544 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.5967, allocations: 0.5482 MB / 0.8549 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.5968, allocations: 56 kB / 0.855 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002749/0.5995, allocations: 1.411 MB / 0.8563 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003175/0.5999, allocations: 267.2 kB / 0.8566 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004675/0.6004, allocations: 402.1 kB / 0.857 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002208/0.6026, allocations: 1.433 MB / 0.8584 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.6026, allocations: 0 / 0.8584 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6026, allocations: 0 / 0.8584 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.457e-06/0.6026, allocations: 0 / 0.8584 GB, free: 10.05 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.00177/0.6044, allocations: 1.132 MB / 0.8595 GB, free: 8.871 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.6044, allocations: 8.031 kB / 0.8595 GB, free: 8.863 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.6045, allocations: 90.45 kB / 0.8596 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.6059, allocations: 207.3 kB / 0.8598 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.6069, allocations: 0.6205 MB / 0.8604 GB, free: 7.902 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/0.6069, allocations: 40.98 kB / 0.8604 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.501e-05/0.6071, allocations: 52 kB / 0.8605 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009271/0.608, allocations: 0.4905 MB / 0.8609 GB, free: 7.32 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.608, allocations: 7.891 kB / 0.8609 GB, free: 7.312 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.961e-05/0.6081, allocations: 20 kB / 0.861 GB, free: 7.293 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-05/0.6081, allocations: 17 kB / 0.861 GB, free: 7.273 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008979/0.609, allocations: 431.7 kB / 0.8614 GB, free: 6.855 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.002864/0.6119, allocations: 2.002 MB / 0.8634 GB, free: 4.676 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006166/0.6125, allocations: 343.6 kB / 0.8637 GB, free: 4.332 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003785/0.6129, allocations: 205.3 kB / 0.8639 GB, free: 4.129 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003049/0.6132, allocations: 190.5 kB / 0.8641 GB, free: 3.906 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.6133, allocations: 46.72 kB / 0.8641 GB, free: 3.852 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=33): time 2.134e-06/0.6133, allocations: 0 / 0.8641 GB, free: 3.852 MB / 0.6856 GB Notification: Performance of matching and sorting (n=33): time 0.001291/0.6146, allocations: 0.5414 MB / 0.8646 GB, free: 3.305 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.6147, allocations: 59.34 kB / 0.8647 GB, free: 3.234 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006274/0.6153, allocations: 0.5108 MB / 0.8652 GB, free: 2.715 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/0.6154, allocations: 33.7 kB / 0.8652 GB, free: 2.676 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/0.6156, allocations: 312.5 kB / 0.8655 GB, free: 2.367 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.6158, allocations: 122.9 kB / 0.8656 GB, free: 2.246 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.6159, allocations: 74.02 kB / 0.8657 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.6161, allocations: 358.8 kB / 0.866 GB, free: 1.809 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.6164, allocations: 142.1 kB / 0.8662 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/0.6168, allocations: 224.5 kB / 0.8664 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006459/0.6175, allocations: 336 kB / 0.8667 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6175, allocations: 4 kB / 0.8667 GB, free: 1.078 MB / 0.6856 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007988/0.6183, allocations: 430.7 kB / 0.8671 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.6183, allocations: 7.938 kB / 0.8671 GB, free: 0.6445 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.6183, allocations: 0 / 0.8671 GB, free: 0.6445 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.6184, allocations: 4 kB / 0.8671 GB, free: 0.6406 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/0.6187, allocations: 71.91 kB / 0.8672 GB, free: 0.5703 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.6187, allocations: 0 / 0.8672 GB, free: 0.5703 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004414/0.6192, allocations: 43.84 kB / 0.8673 GB, free: 0.5273 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.6192, allocations: 16 kB / 0.8673 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004858/0.6197, allocations: 304 kB / 0.8676 GB, free: 216 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.2908/0.9106, allocations: 220.8 kB / 0.8678 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006737/0.9113, allocations: 330.7 kB / 0.8681 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.284e-06/0.9113, allocations: 0.5625 kB / 0.8681 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0008123/0.9121, allocations: 421.3 kB / 0.8685 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.9121, allocations: 7.812 kB / 0.8685 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.9122, allocations: 5.562 kB / 0.8685 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.852e-06/0.9122, allocations: 6.812 kB / 0.8685 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.9125, allocations: 70.25 kB / 0.8686 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.9125, allocations: 2.969 kB / 0.8686 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004816/0.913, allocations: 37.73 kB / 0.8686 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.9131, allocations: 13.17 kB / 0.8686 GB, free: 193.3 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.000133/0.9132, allocations: 202.6 kB / 0.8688 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.9133, allocations: 70.66 kB / 0.8689 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008441/0.9142, allocations: 418.9 kB / 0.8693 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.9142, allocations: 3.031 kB / 0.8693 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.9142, allocations: 1.219 kB / 0.8693 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006044/0.9148, allocations: 435 kB / 0.8697 GB, free: 192.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.9165, allocations: 1.172 MB / 0.8708 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.9166, allocations: 4.562 kB / 0.8708 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004461/0.917, allocations: 87.91 kB / 0.8709 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.917, allocations: 3.938 kB / 0.8709 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.9171, allocations: 9.031 kB / 0.8709 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.9171, allocations: 3.406 kB / 0.8709 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.9171, allocations: 4.359 kB / 0.871 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.9181, allocations: 0.7353 MB / 0.8717 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.9183, allocations: 180.2 kB / 0.8718 GB, free: 191.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.361e-05/0.9184, allocations: 13.34 kB / 0.8719 GB, free: 191.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/0.9188, allocations: 22.73 kB / 0.8719 GB, free: 191.6 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.901e-05/0.9189, allocations: 31.25 kB / 0.8719 GB, free: 191.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.919, allocations: 10.77 kB / 0.8719 GB, free: 191.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004702/0.9194, allocations: 369.5 kB / 0.8723 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9195, allocations: 0 / 0.8723 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008991/0.9204, allocations: 330.4 kB / 0.8726 GB, free: 191.4 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.001485/0.9219, allocations: 1.359 MB / 0.8739 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001023/0.9229, allocations: 0.5155 MB / 0.8744 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.9229, allocations: 0 / 0.8744 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003176/0.9232, allocations: 181.8 kB / 0.8746 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.9248, allocations: 354.9 kB / 0.8749 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005811/0.9307, allocations: 4.633 MB / 0.8795 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.931, allocations: 0.9287 MB / 0.8804 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005343/0.9315, allocations: 188.9 kB / 0.8805 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.9318, allocations: 220.2 kB / 0.8808 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of SimCode: time 3.61e-07/0.9318, allocations: 5.406 kB / 0.8808 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04184/0.9737, allocations: 16.86 MB / 0.8972 GB, free: 178.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.793/9.767, allocations: 7.641 kB / 0.8972 GB, free: 178.5 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)