Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_8_Buildings_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.001906/0.001906, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002071/0.002071, allocations: 188 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.678/1.678, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 73.05 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2325, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001699/0.2342, allocations: 0.5937 MB / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002211/0.2345, allocations: 31.88 kB / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.104e-05/0.2345, allocations: 0 / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.571e-05/0.2345, allocations: 0 / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.431e-05/0.2346, allocations: 0 / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.2348, allocations: 15.92 kB / 0.7843 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.089e-05/0.2349, allocations: 8 kB / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.2349, allocations: 7.984 kB / 0.7843 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.882e-05/0.2349, allocations: 4 kB / 0.7843 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.084e-05/0.235, allocations: 3.984 kB / 0.7843 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.235, allocations: 0 / 0.7843 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.13e-05/0.2351, allocations: 15.98 kB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.145e-05/0.2351, allocations: 7.938 kB / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.2351, allocations: 7.938 kB / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.769e-05/0.2352, allocations: 23.91 kB / 0.7843 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2352, allocations: 0 / 0.7843 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2352, allocations: 4 kB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.2353, allocations: 0 / 0.7843 GB, free: 12.52 MB / 0.6075 GB 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.0003246/0.2356, allocations: 355.7 kB / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.2356, allocations: 15.97 kB / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.594e-05/0.2357, allocations: 30.75 kB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.2357, allocations: 4.844 kB / 0.7847 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.67e-05/0.2358, allocations: 168.5 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.2358, allocations: 4.375 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.2358, allocations: 384 / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.2359, allocations: 66.23 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.2359, allocations: 3.938 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.493e-06/0.236, allocations: 0 / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/0.236, allocations: 11.98 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.555e-05/0.236, allocations: 23.97 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002935/0.2363, allocations: 264.8 kB / 0.7852 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.34e-05/0.2364, allocations: 30.52 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.657e-05/0.2364, allocations: 12.86 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-06/0.2364, allocations: 0 / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.2365, allocations: 30.56 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.2365, allocations: 4.062 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001528/0.2366, allocations: 67.33 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.2367, allocations: 77.11 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.155e-05/0.2368, allocations: 113.8 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.2368, allocations: 29.83 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.2368, allocations: 103.8 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.638e-06/0.2368, allocations: 11.91 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.2369, allocations: 21.72 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.383e-05/0.237, allocations: 314.8 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.386e-05/0.237, allocations: 15.98 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.232e-05/0.2371, allocations: 62.92 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.003e-05/0.2372, allocations: 130.1 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2372, allocations: 0 / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001357/0.2373, allocations: 119.2 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.2374, allocations: 33.7 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.2374, allocations: 0 / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.2374, allocations: 4.25 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.126e-05/0.2375, allocations: 15.98 kB / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.2375, allocations: 4 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.289e-05/0.2375, allocations: 11.84 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.2376, allocations: 11.88 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB 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 8.024e-05/0.2376, allocations: 152.1 kB / 0.7866 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.2377, allocations: 3.984 kB / 0.7866 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.331e-05/0.2377, allocations: 7.531 kB / 0.7866 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.2377, allocations: 0 / 0.7866 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2377, allocations: 4 kB / 0.7866 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.2377, allocations: 0 / 0.7866 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.2378, allocations: 157.6 kB / 0.7867 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2379, allocations: 0 / 0.7867 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.2379, allocations: 0 / 0.7867 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2379, allocations: 0 / 0.7867 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.2379, allocations: 4 kB / 0.7867 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2379, allocations: 0 / 0.7867 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2379, allocations: 0 / 0.7867 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.238, allocations: 177 kB / 0.7869 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.238, allocations: 77.11 kB / 0.787 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.2381, allocations: 4 kB / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.136e-05/0.2381, allocations: 0 / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.443e-05/0.2381, allocations: 0 / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.2381, allocations: 4 kB / 0.787 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.601e-05/0.2382, allocations: 91.2 kB / 0.7871 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2382, allocations: 4 kB / 0.7871 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002336/0.2384, allocations: 8 kB / 0.7871 GB, free: 9.281 MB / 0.6075 GB 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.000381/0.2388, allocations: 0.7025 MB / 0.7878 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.239, allocations: 91.27 kB / 0.7879 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.239, allocations: 0.5312 kB / 0.7879 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.872e-05/0.239, allocations: 59.41 kB / 0.7879 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.2392, allocations: 4 kB / 0.7879 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.2396, allocations: 154.4 kB / 0.7881 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.2398, allocations: 0.6768 MB / 0.7887 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.636e-05/0.2399, allocations: 11.98 kB / 0.7887 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/0.2399, allocations: 11.44 kB / 0.7887 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.2399, allocations: 4.062 kB / 0.7888 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.2562, allocations: 1.421 MB / 0.7901 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.111/7.367, allocations: 10.52 kB / 0.7901 GB, free: 6.133 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)