Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",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.001237/0.001237, allocations: 107.1 kB / 15.98 MB, free: 5.875 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.001294/0.001294, allocations: 197.6 kB / 16.91 MB, free: 5.738 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.463/1.463, allocations: 222.9 MB / 240.6 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7047/0.7047, allocations: 115.3 MB / 406.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 63.84 kB / 493.2 MB, free: 6.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1879, allocations: 76.19 MB / 0.5561 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002201/0.1901, allocations: 0.6357 MB / 0.5567 GB, free: 9.977 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002568/0.1904, allocations: 38.39 kB / 0.5567 GB, free: 9.941 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.797e-05/0.1905, allocations: 4 kB / 0.5567 GB, free: 9.938 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.281e-05/0.1905, allocations: 0 / 0.5567 GB, free: 9.938 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.715e-05/0.1906, allocations: 0 / 0.5567 GB, free: 9.938 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.1908, allocations: 15.98 kB / 0.5567 GB, free: 9.922 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.52e-05/0.1909, allocations: 4 kB / 0.5567 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.1909, allocations: 4 kB / 0.5567 GB, free: 9.914 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.139e-05/0.191, allocations: 4 kB / 0.5567 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.442e-05/0.191, allocations: 7.922 kB / 0.5567 GB, free: 9.902 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.191, allocations: 0 / 0.5567 GB, free: 9.902 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.305e-05/0.1911, allocations: 23.91 kB / 0.5568 GB, free: 9.879 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.751e-05/0.1911, allocations: 4 kB / 0.5568 GB, free: 9.875 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.539e-05/0.1912, allocations: 7.938 kB / 0.5568 GB, free: 9.867 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.45e-05/0.1913, allocations: 19.98 kB / 0.5568 GB, free: 9.848 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1913, allocations: 0 / 0.5568 GB, free: 9.848 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1913, allocations: 7.938 kB / 0.5568 GB, free: 9.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1913, allocations: 0 / 0.5568 GB, free: 9.84 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003249/0.1916, allocations: 353.3 kB / 0.5571 GB, free: 9.438 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.1917, allocations: 8.031 kB / 0.5572 GB, free: 9.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.278e-05/0.1917, allocations: 34.75 kB / 0.5572 GB, free: 9.387 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.1918, allocations: 8.781 kB / 0.5572 GB, free: 9.379 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.1919, allocations: 172.6 kB / 0.5574 GB, free: 9.172 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1919, allocations: 4.375 kB / 0.5574 GB, free: 9.168 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.1919, allocations: 384 / 0.5574 GB, free: 9.168 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.192, allocations: 66.19 kB / 0.5574 GB, free: 9.098 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1921, allocations: 3.938 kB / 0.5574 GB, free: 9.094 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.1921, allocations: 0 / 0.5574 GB, free: 9.094 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/0.1921, allocations: 4 kB / 0.5574 GB, free: 9.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.914e-05/0.1922, allocations: 23.98 kB / 0.5575 GB, free: 9.066 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003298/0.1925, allocations: 260.9 kB / 0.5577 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.26e-05/0.1926, allocations: 26.58 kB / 0.5577 GB, free: 8.727 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.775e-05/0.1926, allocations: 8.859 kB / 0.5577 GB, free: 8.715 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-06/0.1926, allocations: 3.938 kB / 0.5577 GB, free: 8.711 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.1926, allocations: 34.55 kB / 0.5578 GB, free: 8.668 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/0.1926, allocations: 0 / 0.5578 GB, free: 8.668 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001629/0.1928, allocations: 67.38 kB / 0.5578 GB, free: 8.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.1929, allocations: 77.11 kB / 0.5579 GB, free: 8.496 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.953e-05/0.193, allocations: 117.8 kB / 0.558 GB, free: 8.371 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.193, allocations: 29.83 kB / 0.5581 GB, free: 8.336 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.1931, allocations: 103.9 kB / 0.5582 GB, free: 8.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.1931, allocations: 11.91 kB / 0.5582 GB, free: 8.219 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/0.1931, allocations: 21.7 kB / 0.5582 GB, free: 8.191 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1932, allocations: 318.8 kB / 0.5585 GB, free: 7.871 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.1933, allocations: 11.94 kB / 0.5585 GB, free: 7.859 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-05/0.1933, allocations: 66.86 kB / 0.5586 GB, free: 7.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.1935, allocations: 130.1 kB / 0.5587 GB, free: 7.605 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1935, allocations: 0 / 0.5587 GB, free: 7.605 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001564/0.1936, allocations: 119.2 kB / 0.5588 GB, free: 7.477 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.1937, allocations: 33.7 kB / 0.5588 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1937, allocations: 256 / 0.5588 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1937, allocations: 11.94 kB / 0.5588 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.515e-05/0.1938, allocations: 11.94 kB / 0.5589 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.1938, allocations: 4 kB / 0.5589 GB, free: 7.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.681e-05/0.1939, allocations: 11.84 kB / 0.5589 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.1939, allocations: 11.92 kB / 0.5589 GB, free: 7.387 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 9.376e-05/0.194, allocations: 143.5 kB / 0.559 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.194, allocations: 0 / 0.559 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.413e-05/0.194, allocations: 7.531 kB / 0.559 GB, free: 7.223 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.194, allocations: 0 / 0.559 GB, free: 7.223 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.194, allocations: 4 kB / 0.559 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1941, allocations: 3.938 kB / 0.559 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.1942, allocations: 157.6 kB / 0.5592 GB, free: 7.012 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1942, allocations: 3.938 kB / 0.5592 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.1942, allocations: 0 / 0.5592 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1942, allocations: 3.984 kB / 0.5592 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.1942, allocations: 4 kB / 0.5592 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1942, allocations: 0 / 0.5592 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1943, allocations: 0 / 0.5592 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.1944, allocations: 165.2 kB / 0.5594 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.1944, allocations: 85 kB / 0.5594 GB, free: 6.715 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.1945, allocations: 0 / 0.5594 GB, free: 6.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.715e-05/0.1945, allocations: 4 kB / 0.5594 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.1945, allocations: 0 / 0.5594 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.1946, allocations: 4 kB / 0.5594 GB, free: 6.707 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.746e-05/0.1946, allocations: 91.2 kB / 0.5595 GB, free: 6.617 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1946, allocations: 0 / 0.5595 GB, free: 6.617 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.1949, allocations: 16.03 kB / 0.5595 GB, free: 6.602 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000449/0.1953, allocations: 0.6985 MB / 0.5602 GB, free: 5.871 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.1955, allocations: 87.73 kB / 0.5603 GB, free: 5.773 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1955, allocations: 4.125 kB / 0.5603 GB, free: 5.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.403e-05/0.1955, allocations: 59.39 kB / 0.5604 GB, free: 5.699 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.1958, allocations: 1.547 kB / 0.5604 GB, free: 5.699 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.1961, allocations: 150.6 kB / 0.5605 GB, free: 5.512 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.1964, allocations: 0.6807 MB / 0.5612 GB, free: 4.805 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.1965, allocations: 19.97 kB / 0.5612 GB, free: 4.785 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.1965, allocations: 15.44 kB / 0.5612 GB, free: 4.77 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1965, allocations: 0 / 0.5612 GB, free: 4.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/0.2086, allocations: 1.325 MB / 0.5625 GB, free: 3.586 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/0.2088, allocations: 211.1 kB / 0.5627 GB, free: 3.336 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/1.858, allocations: 0 / 0.5627 GB, free: 3.336 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)