Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildSysPro_BuildSysPro_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.001329/0.001328, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001512/0.001512, allocations: 191 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.453/1.453, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9872/0.9872, allocations: 143.1 MB / 433.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 63.91 kB / 0.5138 GB, free: 11.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2333, allocations: 82.04 MB / 0.5939 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002165/0.2356, allocations: 0.6532 MB / 0.5946 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002434/0.2358, allocations: 35.88 kB / 0.5946 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.865e-05/0.2358, allocations: 0 / 0.5946 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.158e-05/0.2359, allocations: 0 / 0.5946 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.894e-05/0.2359, allocations: 0 / 0.5946 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.2361, allocations: 12 kB / 0.5946 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.118e-05/0.2362, allocations: 3.984 kB / 0.5946 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.267e-05/0.2363, allocations: 8 kB / 0.5946 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.835e-05/0.2363, allocations: 0 / 0.5946 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.678e-05/0.2363, allocations: 11.92 kB / 0.5946 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.2364, allocations: 4 kB / 0.5946 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.422e-05/0.2365, allocations: 19.92 kB / 0.5947 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.846e-05/0.2365, allocations: 0 / 0.5947 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.2365, allocations: 11.94 kB / 0.5947 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.2366, allocations: 23.91 kB / 0.5947 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2366, allocations: 0 / 0.5947 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2367, allocations: 0 / 0.5947 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.2367, allocations: 3.938 kB / 0.5947 GB, free: 8.969 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003693/0.237, allocations: 356.5 kB / 0.595 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.2371, allocations: 12.03 kB / 0.595 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.64e-05/0.2371, allocations: 34.75 kB / 0.5951 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.2372, allocations: 8.844 kB / 0.5951 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.2373, allocations: 164.6 kB / 0.5952 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.2373, allocations: 384 / 0.5952 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.2373, allocations: 384 / 0.5952 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.2375, allocations: 62.23 kB / 0.5953 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2375, allocations: 7.875 kB / 0.5953 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.2375, allocations: 4 kB / 0.5953 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.2375, allocations: 4 kB / 0.5953 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.676e-05/0.2376, allocations: 27.98 kB / 0.5953 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.2379, allocations: 260.8 kB / 0.5956 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.456e-05/0.238, allocations: 22.58 kB / 0.5956 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.03e-05/0.238, allocations: 8.859 kB / 0.5956 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.238, allocations: 4.062 kB / 0.5956 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.2381, allocations: 34.5 kB / 0.5957 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.2381, allocations: 4 kB / 0.5957 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001821/0.2383, allocations: 63.39 kB / 0.5957 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.2383, allocations: 81.11 kB / 0.5958 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.907e-05/0.2384, allocations: 113.8 kB / 0.5959 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.2384, allocations: 25.7 kB / 0.5959 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.2385, allocations: 111.8 kB / 0.596 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.029e-05/0.2385, allocations: 3.906 kB / 0.596 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.2386, allocations: 21.72 kB / 0.5961 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2387, allocations: 322.9 kB / 0.5964 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.571e-05/0.2388, allocations: 12 kB / 0.5964 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.689e-05/0.2388, allocations: 62.8 kB / 0.5964 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.2389, allocations: 122.2 kB / 0.5966 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.239, allocations: 7.875 kB / 0.5966 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002083/0.2392, allocations: 119.2 kB / 0.5967 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/0.2392, allocations: 33.7 kB / 0.5967 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2392, allocations: 0 / 0.5967 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.2392, allocations: 4 kB / 0.5967 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.797e-05/0.2393, allocations: 19.92 kB / 0.5967 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.2393, allocations: 0 / 0.5967 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.762e-05/0.2394, allocations: 11.84 kB / 0.5967 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.2394, allocations: 12.19 kB / 0.5968 GB, free: 6.527 MB / 0.4981 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 0.0001051/0.2395, allocations: 147.5 kB / 0.5969 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.2396, allocations: 4 kB / 0.5969 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.45e-05/0.2396, allocations: 3.531 kB / 0.5969 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2396, allocations: 7.922 kB / 0.5969 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2396, allocations: 4 kB / 0.5969 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2396, allocations: 0 / 0.5969 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.2398, allocations: 157.6 kB / 0.5971 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.2398, allocations: 4 kB / 0.5971 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.2398, allocations: 3.938 kB / 0.5971 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.2398, allocations: 4 kB / 0.5971 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.2398, allocations: 0 / 0.5971 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.2398, allocations: 0 / 0.5971 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.2398, allocations: 0 / 0.5971 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.2399, allocations: 169.1 kB / 0.5972 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.24, allocations: 81.11 kB / 0.5973 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.24, allocations: 0 / 0.5973 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.683e-05/0.2401, allocations: 8.016 kB / 0.5973 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.162e-05/0.2401, allocations: 0 / 0.5973 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.2401, allocations: 4 kB / 0.5973 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.098e-05/0.2402, allocations: 95.2 kB / 0.5974 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2402, allocations: 0 / 0.5974 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002373/0.2404, allocations: 8 kB / 0.5974 GB, free: 5.73 MB / 0.4981 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.0007133/0.2411, allocations: 0.7063 MB / 0.5981 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001464/0.2413, allocations: 83.33 kB / 0.5982 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2413, allocations: 0 / 0.5982 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.743e-05/0.2413, allocations: 55.41 kB / 0.5983 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.2416, allocations: 7.938 kB / 0.5983 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/0.242, allocations: 159 kB / 0.5984 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.2422, allocations: 0.6806 MB / 0.5991 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001182/0.2424, allocations: 11.98 kB / 0.5991 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.2424, allocations: 11.44 kB / 0.5991 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2424, allocations: 0 / 0.5991 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01173/0.2541, allocations: 1.348 MB / 0.6004 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/0.2544, allocations: 233.2 kB / 0.6006 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/2.018, allocations: 0 / 0.6006 GB, free: 2.465 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)