Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example8.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.Examples.Performance.Example8,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example8",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.005094/0.005094, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001198/0.001198, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7322/0.7322, allocations: 132.2 MB / 422.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 63.84 kB / 0.5809 GB, free: 8.043 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.388, allocations: 80.2 MB / 0.6592 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001552/0.3896, allocations: 0.5059 MB / 0.6597 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001358/0.3897, allocations: 16.11 kB / 0.6597 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.071e-05/0.3898, allocations: 0 / 0.6597 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.3898, allocations: 5.375 kB / 0.6597 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.3899, allocations: 10.06 kB / 0.6597 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.057e-06/0.39, allocations: 0 / 0.6597 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.611e-05/0.39, allocations: 1.375 kB / 0.6597 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.371e-05/0.3901, allocations: 4.094 kB / 0.6597 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.601e-05/0.3901, allocations: 1.375 kB / 0.6597 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.337e-05/0.3901, allocations: 0.7031 kB / 0.6597 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.3902, allocations: 1.375 kB / 0.6597 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.34e-06/0.3902, allocations: 0 / 0.6597 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.3902, allocations: 3.984 kB / 0.6597 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.752e-05/0.3902, allocations: 5.969 kB / 0.6597 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.709e-05/0.3903, allocations: 4.75 kB / 0.6597 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3903, allocations: 1.375 kB / 0.6597 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.674e-06/0.3903, allocations: 0 / 0.6597 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3903, allocations: 0 / 0.6597 GB, free: 9.742 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002212/0.3905, allocations: 313.8 kB / 0.66 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3905, allocations: 9.625 kB / 0.66 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.251e-05/0.3906, allocations: 31.45 kB / 0.6601 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.108e-05/0.3906, allocations: 0.9375 kB / 0.6601 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.981e-05/0.3907, allocations: 167.2 kB / 0.6602 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.3907, allocations: 4.375 kB / 0.6602 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.3907, allocations: 5.5 kB / 0.6602 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.873e-05/0.3908, allocations: 41.61 kB / 0.6603 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.3908, allocations: 7.984 kB / 0.6603 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.3908, allocations: 4 kB / 0.6603 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3908, allocations: 1.375 kB / 0.6603 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.468e-05/0.3909, allocations: 7.25 kB / 0.6603 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001048/0.391, allocations: 153.8 kB / 0.6604 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.454e-05/0.391, allocations: 38.08 kB / 0.6605 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.3911, allocations: 15.69 kB / 0.6605 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.3911, allocations: 9.953 kB / 0.6605 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.851e-05/0.3911, allocations: 32.55 kB / 0.6605 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3911, allocations: 4 kB / 0.6605 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001369/0.3913, allocations: 45.33 kB / 0.6606 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.3913, allocations: 79.19 kB / 0.6606 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.714e-05/0.3913, allocations: 89.86 kB / 0.6607 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.242e-06/0.3913, allocations: 25.7 kB / 0.6608 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.089e-05/0.3913, allocations: 80.89 kB / 0.6608 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.3914, allocations: 11.53 kB / 0.6608 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.3914, allocations: 17.47 kB / 0.6609 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.354e-05/0.3915, allocations: 315.5 kB / 0.6612 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.07e-05/0.3915, allocations: 2.078 kB / 0.6612 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.157e-05/0.3915, allocations: 17.08 kB / 0.6612 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.207e-05/0.3915, allocations: 19.95 kB / 0.6612 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3915, allocations: 0 / 0.6612 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.349e-05/0.3916, allocations: 49.72 kB / 0.6612 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.3916, allocations: 5.5 kB / 0.6613 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3916, allocations: 0.7969 kB / 0.6613 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3916, allocations: 1.375 kB / 0.6613 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/0.3917, allocations: 7.484 kB / 0.6613 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3917, allocations: 1.375 kB / 0.6613 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.564e-05/0.3917, allocations: 0 / 0.6613 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.3918, allocations: 2.031 kB / 0.6613 GB, free: 7.992 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 4.623e-05/0.3918, allocations: 112.7 kB / 0.6614 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-06/0.3918, allocations: 5.312 kB / 0.6614 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.287e-05/0.3919, allocations: 49.09 kB / 0.6614 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3919, allocations: 1.375 kB / 0.6614 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3919, allocations: 1.375 kB / 0.6614 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3919, allocations: 0.8906 kB / 0.6614 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.304e-05/0.392, allocations: 146.4 kB / 0.6616 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.392, allocations: 3.938 kB / 0.6616 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/0.392, allocations: 11.47 kB / 0.6616 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.392, allocations: 1.375 kB / 0.6616 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.3921, allocations: 2.172 kB / 0.6616 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.3921, allocations: 0 / 0.6616 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.3921, allocations: 1.375 kB / 0.6616 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.134e-05/0.3921, allocations: 72.06 kB / 0.6617 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.3921, allocations: 87.06 kB / 0.6617 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.3922, allocations: 6.078 kB / 0.6617 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.507e-05/0.3922, allocations: 4 kB / 0.6618 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.09e-05/0.3922, allocations: 1.891 kB / 0.6618 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.3922, allocations: 1.375 kB / 0.6618 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.257e-05/0.3922, allocations: 79.73 kB / 0.6618 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.3922, allocations: 1.375 kB / 0.6618 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001979/0.3924, allocations: 1.375 kB / 0.6618 GB, free: 7.359 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (2): * Single equations (assignments): 2 * 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.0002154/0.3926, allocations: 0.6073 MB / 0.6624 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.918e-05/0.3927, allocations: 12 kB / 0.6624 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3927, allocations: 0 / 0.6624 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.141e-05/0.3928, allocations: 5.266 kB / 0.6624 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.3929, allocations: 9.875 kB / 0.6625 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002595/0.3932, allocations: 121.1 kB / 0.6626 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.586e-05/0.3933, allocations: 0.6716 MB / 0.6632 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.655e-05/0.3933, allocations: 1.938 kB / 0.6632 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.3933, allocations: 13.38 kB / 0.6632 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.3933, allocations: 0 / 0.6632 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.4098, allocations: 0.9197 MB / 0.6641 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.198/7.608, allocations: 5.188 kB / 0.6641 GB, free: 5.539 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example8.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)