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.0008272/0.0008271, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0009551/0.0009553, allocations: 168.7 kB / 15.95 MB, free: 200 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.274/1.274, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7524/0.7524, allocations: 132.3 MB / 423.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003398, allocations: 12.75 kB / 0.5035 GB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3918, allocations: 81.57 MB / 0.5831 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.0006043/0.3924, allocations: 245 kB / 0.5834 GB, free: 3.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001317/0.3926, allocations: 12.33 kB / 0.5834 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.3926, allocations: 6.094 kB / 0.5834 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.099e-05/0.3926, allocations: 0 / 0.5834 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.3928, allocations: 9.797 kB / 0.5834 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.856e-06/0.3928, allocations: 0.9688 kB / 0.5834 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.813e-05/0.3928, allocations: 1.656 kB / 0.5834 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.3929, allocations: 6.594 kB / 0.5834 GB, free: 3.816 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.443e-05/0.3929, allocations: 0 / 0.5834 GB, free: 3.816 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.367e-05/0.393, allocations: 6.75 kB / 0.5834 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.393, allocations: 0.6562 kB / 0.5834 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.65e-06/0.393, allocations: 2.469 kB / 0.5834 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.282e-06/0.393, allocations: 0.9375 kB / 0.5834 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.222e-05/0.393, allocations: 25.7 kB / 0.5835 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 2.848e-05/0.393, allocations: 1.547 kB / 0.5835 GB, free: 3.781 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3931, allocations: 0 / 0.5835 GB, free: 3.781 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3931, allocations: 1.062 kB / 0.5835 GB, free: 3.781 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.3931, allocations: 0 / 0.5835 GB, free: 3.781 MB / 430.1 MB 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.0001765/0.3933, allocations: 309.4 kB / 0.5837 GB, free: 3.438 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.3933, allocations: 10.27 kB / 0.5838 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.079e-05/0.3933, allocations: 30.56 kB / 0.5838 GB, free: 3.398 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.166e-05/0.3934, allocations: 9.938 kB / 0.5838 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.659e-05/0.3934, allocations: 160.2 kB / 0.584 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.3934, allocations: 1.656 kB / 0.584 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-06/0.3935, allocations: 0 / 0.584 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.684e-05/0.3936, allocations: 53.59 kB / 0.584 GB, free: 3.137 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3936, allocations: 3.984 kB / 0.584 GB, free: 3.133 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.3936, allocations: 0.7031 kB / 0.584 GB, free: 3.133 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3936, allocations: 0.8125 kB / 0.584 GB, free: 3.133 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.417e-05/0.3936, allocations: 3.266 kB / 0.584 GB, free: 3.133 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001072/0.3937, allocations: 157.7 kB / 0.5842 GB, free: 2.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.658e-05/0.3938, allocations: 42.58 kB / 0.5842 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.999e-05/0.3938, allocations: 16.28 kB / 0.5842 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.3939, allocations: 0.7031 kB / 0.5842 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.3939, allocations: 32.8 kB / 0.5842 GB, free: 2.816 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3939, allocations: 0 / 0.5842 GB, free: 2.816 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.000157/0.3941, allocations: 52.77 kB / 0.5843 GB, free: 2.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.3941, allocations: 79.12 kB / 0.5844 GB, free: 2.676 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.57e-05/0.3941, allocations: 93.8 kB / 0.5845 GB, free: 2.574 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.963e-06/0.3941, allocations: 30.67 kB / 0.5845 GB, free: 2.539 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.06e-05/0.3941, allocations: 84.88 kB / 0.5846 GB, free: 2.453 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.3942, allocations: 3.031 kB / 0.5846 GB, free: 2.453 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-06/0.3942, allocations: 0.75 kB / 0.5846 GB, free: 2.453 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.75e-05/0.3942, allocations: 316.5 kB / 0.5849 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.3942, allocations: 9.5 kB / 0.5849 GB, free: 2.129 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.312e-05/0.3943, allocations: 13.66 kB / 0.5849 GB, free: 2.113 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.216e-05/0.3943, allocations: 2.922 kB / 0.5849 GB, free: 2.113 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3943, allocations: 0.7188 kB / 0.5849 GB, free: 2.113 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.27e-05/0.3944, allocations: 39.59 kB / 0.5849 GB, free: 2.078 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3944, allocations: 6.391 kB / 0.5849 GB, free: 2.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3944, allocations: 4.906 kB / 0.585 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3944, allocations: 1.031 kB / 0.585 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.905e-05/0.3945, allocations: 7.703 kB / 0.585 GB, free: 2.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3945, allocations: 2.047 kB / 0.585 GB, free: 2.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.793e-05/0.3945, allocations: 3.906 kB / 0.585 GB, free: 2.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.3945, allocations: 0.8438 kB / 0.585 GB, free: 2.066 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.186e-05/0.3946, allocations: 114 kB / 0.5851 GB, free: 1.949 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.3946, allocations: 1.469 kB / 0.5851 GB, free: 1.949 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.3947, allocations: 52.8 kB / 0.5851 GB, free: 1.902 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3947, allocations: 0.875 kB / 0.5851 GB, free: 1.902 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3947, allocations: 1.531 kB / 0.5851 GB, free: 1.902 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3948, allocations: 0.9375 kB / 0.5851 GB, free: 1.902 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.056e-05/0.3948, allocations: 154 kB / 0.5853 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3948, allocations: 5.031 kB / 0.5853 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.574e-05/0.3949, allocations: 3.453 kB / 0.5853 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3949, allocations: 2.078 kB / 0.5853 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.3949, allocations: 0 / 0.5853 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3949, allocations: 6.141 kB / 0.5853 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3949, allocations: 0 / 0.5853 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.612e-05/0.395, allocations: 78.78 kB / 0.5854 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.395, allocations: 77.72 kB / 0.5854 GB, free: 1.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.395, allocations: 1.594 kB / 0.5854 GB, free: 1.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.623e-05/0.395, allocations: 0.9375 kB / 0.5854 GB, free: 1.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.395, allocations: 5.844 kB / 0.5855 GB, free: 1.516 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.395, allocations: 5.875 kB / 0.5855 GB, free: 1.512 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.064e-05/0.3951, allocations: 75.28 kB / 0.5855 GB, free: 1.438 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3951, allocations: 0 / 0.5855 GB, free: 1.438 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002049/0.3953, allocations: 2.609 kB / 0.5855 GB, free: 1.438 MB / 430.1 MB 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 (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.0002315/0.3955, allocations: 0.6072 MB / 0.5861 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.738e-05/0.3956, allocations: 7.875 kB / 0.5861 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3956, allocations: 0 / 0.5861 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.242e-05/0.3956, allocations: 8.609 kB / 0.5861 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.3958, allocations: 4.094 kB / 0.5861 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.396, allocations: 120.8 kB / 0.5863 GB, free: 0.668 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.3962, allocations: 0.6724 MB / 0.5869 GB, free: 15.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.03e-05/0.3962, allocations: 2.25 kB / 0.5869 GB, free: 15.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.286e-05/0.3962, allocations: 8.406 kB / 0.5869 GB, free: 15.96 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3962, allocations: 0 / 0.5869 GB, free: 15.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009832/0.4061, allocations: 0.723 MB / 0.5876 GB, free: 15.84 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001581/0.4062, allocations: 168.6 kB / 0.5878 GB, free: 15.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/1.935, allocations: 3.281 kB / 0.5878 GB, free: 15.6 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: