Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.Performance.Example8,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_dev_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.001617/0.001617, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002012/0.002012, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.981/1.981, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8939/0.8939, allocations: 135.1 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 64.56 kB / 0.505 GB, free: 5.516 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.213, allocations: 80.92 MB / 0.584 GB, free: 4.762 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001545/0.2146, allocations: 0.5752 MB / 0.5845 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001068/0.2147, allocations: 11.92 kB / 0.5846 GB, free: 4.168 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.762e-05/0.2148, allocations: 3.938 kB / 0.5846 GB, free: 4.164 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.23e-05/0.2148, allocations: 0 / 0.5846 GB, free: 4.164 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.2149, allocations: 7.984 kB / 0.5846 GB, free: 4.156 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.466e-06/0.2149, allocations: 0 / 0.5846 GB, free: 4.156 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.599e-05/0.215, allocations: 4 kB / 0.5846 GB, free: 4.152 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.791e-05/0.215, allocations: 4 kB / 0.5846 GB, free: 4.148 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.371e-05/0.215, allocations: 3.938 kB / 0.5846 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.116e-05/0.2151, allocations: 4 kB / 0.5846 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.2151, allocations: 0 / 0.5846 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.849e-06/0.2151, allocations: 0 / 0.5846 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.117e-06/0.2151, allocations: 0 / 0.5846 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.18e-05/0.2151, allocations: 0 / 0.5846 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.478e-05/0.2151, allocations: 7.969 kB / 0.5846 GB, free: 4.133 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2152, allocations: 4 kB / 0.5846 GB, free: 4.129 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2152, allocations: 0 / 0.5846 GB, free: 4.129 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.2152, allocations: 0 / 0.5846 GB, free: 4.129 MB / 494.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.000223/0.2154, allocations: 307.6 kB / 0.5849 GB, free: 3.781 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.2154, allocations: 12.06 kB / 0.5849 GB, free: 3.77 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.604e-05/0.2155, allocations: 34.69 kB / 0.5849 GB, free: 3.727 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.886e-05/0.2155, allocations: 0.9375 kB / 0.5849 GB, free: 3.727 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.94e-05/0.2156, allocations: 172.3 kB / 0.5851 GB, free: 3.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.2156, allocations: 384 / 0.5851 GB, free: 3.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.2156, allocations: 4.375 kB / 0.5851 GB, free: 3.516 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.618e-05/0.2157, allocations: 43.36 kB / 0.5851 GB, free: 3.461 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.2157, allocations: 4 kB / 0.5851 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.2157, allocations: 0 / 0.5851 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.2157, allocations: 0 / 0.5851 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.114e-05/0.2158, allocations: 7.922 kB / 0.5852 GB, free: 3.449 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.2159, allocations: 154.5 kB / 0.5853 GB, free: 3.246 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.573e-05/0.2159, allocations: 41.28 kB / 0.5853 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.986e-05/0.216, allocations: 13.66 kB / 0.5854 GB, free: 3.168 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.216, allocations: 8 kB / 0.5854 GB, free: 3.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.216, allocations: 38.55 kB / 0.5854 GB, free: 3.113 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.216, allocations: 0 / 0.5854 GB, free: 3.113 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001174/0.2162, allocations: 45.64 kB / 0.5854 GB, free: 3.062 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.2162, allocations: 81.11 kB / 0.5855 GB, free: 2.965 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.171e-05/0.2162, allocations: 89.86 kB / 0.5856 GB, free: 2.867 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.2163, allocations: 25.7 kB / 0.5856 GB, free: 2.836 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.072e-05/0.2163, allocations: 80.14 kB / 0.5857 GB, free: 2.754 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.2163, allocations: 8.172 kB / 0.5857 GB, free: 2.746 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.2163, allocations: 17.72 kB / 0.5857 GB, free: 2.723 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.712e-05/0.2164, allocations: 315.1 kB / 0.586 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-06/0.2164, allocations: 3.938 kB / 0.586 GB, free: 2.402 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.455e-05/0.2165, allocations: 13.72 kB / 0.586 GB, free: 2.383 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.456e-05/0.2165, allocations: 25.66 kB / 0.5861 GB, free: 2.352 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2165, allocations: 0 / 0.5861 GB, free: 2.352 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.112e-05/0.2166, allocations: 49.69 kB / 0.5861 GB, free: 2.297 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.2166, allocations: 8 kB / 0.5861 GB, free: 2.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2166, allocations: 3.984 kB / 0.5861 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.2166, allocations: 0 / 0.5861 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.2167, allocations: 4 kB / 0.5861 GB, free: 2.281 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.2167, allocations: 0 / 0.5861 GB, free: 2.281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.735e-05/0.2167, allocations: 3.938 kB / 0.5861 GB, free: 2.277 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.2167, allocations: 7.984 kB / 0.5861 GB, free: 2.27 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/0.2168, allocations: 109.8 kB / 0.5863 GB, free: 2.152 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.2168, allocations: 7.844 kB / 0.5863 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.217e-05/0.2169, allocations: 60.69 kB / 0.5863 GB, free: 2.078 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2169, allocations: 0 / 0.5863 GB, free: 2.078 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2169, allocations: 0 / 0.5863 GB, free: 2.078 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2169, allocations: 0 / 0.5863 GB, free: 2.078 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.331e-05/0.217, allocations: 145.7 kB / 0.5865 GB, free: 1.887 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.217, allocations: 0 / 0.5865 GB, free: 1.887 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.543e-05/0.2171, allocations: 11.92 kB / 0.5865 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2171, allocations: 0 / 0.5865 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.2171, allocations: 4.062 kB / 0.5865 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2171, allocations: 0 / 0.5865 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2171, allocations: 0 / 0.5865 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.719e-05/0.2172, allocations: 73.92 kB / 0.5865 GB, free: 1.777 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.2172, allocations: 85.05 kB / 0.5866 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.2172, allocations: 3.984 kB / 0.5866 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.405e-05/0.2172, allocations: 0 / 0.5866 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.357e-05/0.2172, allocations: 8.031 kB / 0.5866 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.2173, allocations: 0 / 0.5866 GB, free: 1.664 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.108e-05/0.2173, allocations: 75.28 kB / 0.5867 GB, free: 1.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2173, allocations: 0 / 0.5867 GB, free: 1.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001723/0.2175, allocations: 4 kB / 0.5867 GB, free: 1.586 MB / 494.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 (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.000299/0.2178, allocations: 0.6015 MB / 0.5873 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.776e-05/0.2178, allocations: 15.98 kB / 0.5873 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2178, allocations: 0 / 0.5873 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-05/0.2179, allocations: 7.938 kB / 0.5873 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.218, allocations: 0 / 0.5873 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002631/0.2183, allocations: 135.7 kB / 0.5875 GB, free: 0.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.2184, allocations: 0.669 MB / 0.5881 GB, free: 56 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.623e-05/0.2185, allocations: 0 / 0.5881 GB, free: 56 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/0.2185, allocations: 11.44 kB / 0.5881 GB, free: 44 kB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2185, allocations: 0 / 0.5881 GB, free: 44 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7911/1.01, allocations: 0.8094 MB / 0.5889 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003242/1.01, allocations: 193 kB / 0.5891 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.894/3.904, allocations: 0 / 0.5891 GB, free: 15.09 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)