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.009464/0.009464, allocations: 100.6 kB / 15.73 MB, free: 6.453 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.001806/0.001806, allocations: 184.8 kB / 16.67 MB, free: 6.367 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.9931/0.9931, allocations: 143 MB / 433.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 71.88 kB / 0.5951 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4428, allocations: 82.02 MB / 0.6752 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001405/0.4442, allocations: 0.5775 MB / 0.6758 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002064/0.4444, allocations: 46.34 kB / 0.6758 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.861e-05/0.4445, allocations: 0 / 0.6758 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.511e-05/0.4445, allocations: 0 / 0.6758 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.967e-05/0.4445, allocations: 6.062 kB / 0.6758 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.4447, allocations: 8.922 kB / 0.6758 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.74e-05/0.4448, allocations: 6.125 kB / 0.6758 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.36e-05/0.4448, allocations: 6.578 kB / 0.6758 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.551e-05/0.4449, allocations: 1.438 kB / 0.6758 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.265e-05/0.4449, allocations: 3.938 kB / 0.6758 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.4449, allocations: 5.344 kB / 0.6758 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.295e-05/0.445, allocations: 16.2 kB / 0.6759 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.492e-05/0.445, allocations: 7 kB / 0.6759 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.445, allocations: 9.109 kB / 0.6759 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.613e-05/0.4451, allocations: 17.11 kB / 0.6759 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4451, allocations: 7.922 kB / 0.6759 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4451, allocations: 1.188 kB / 0.6759 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.4451, allocations: 0 / 0.6759 GB, free: 0.6211 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.000217/0.4454, allocations: 345.5 kB / 0.6762 GB, free: 240 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.4454, allocations: 13.95 kB / 0.6762 GB, free: 236 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.648e-05/0.4454, allocations: 43.88 kB / 0.6763 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.205e-05/0.4455, allocations: 2.094 kB / 0.6763 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.277e-05/0.4455, allocations: 163.9 kB / 0.6764 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.4456, allocations: 384 / 0.6764 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.4456, allocations: 2.594 kB / 0.6765 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.4457, allocations: 53.69 kB / 0.6765 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.4457, allocations: 5.156 kB / 0.6765 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.4457, allocations: 7.984 kB / 0.6765 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/0.4457, allocations: 9.109 kB / 0.6765 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.805e-05/0.4458, allocations: 27.55 kB / 0.6766 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000272/0.4461, allocations: 266.9 kB / 0.6768 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.693e-05/0.4461, allocations: 20.94 kB / 0.6768 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.445e-05/0.4461, allocations: 7.359 kB / 0.6768 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.47e-06/0.4462, allocations: 0 / 0.6768 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.4462, allocations: 31.81 kB / 0.6769 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.4462, allocations: 4 kB / 0.6769 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.000148/0.4463, allocations: 81.78 kB / 0.6769 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.4464, allocations: 78.27 kB / 0.677 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.56e-05/0.4465, allocations: 113.2 kB / 0.6771 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.4465, allocations: 26.89 kB / 0.6772 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.4465, allocations: 99.08 kB / 0.6772 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.057e-06/0.4465, allocations: 9.078 kB / 0.6773 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.4466, allocations: 28.44 kB / 0.6773 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.516e-05/0.4467, allocations: 321.4 kB / 0.6776 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.4467, allocations: 14.33 kB / 0.6776 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.623e-05/0.4468, allocations: 57.8 kB / 0.6777 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.778e-05/0.4469, allocations: 132.5 kB / 0.6778 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4469, allocations: 0 / 0.6778 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001352/0.447, allocations: 120 kB / 0.6779 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.4471, allocations: 32.52 kB / 0.6779 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.4471, allocations: 5.406 kB / 0.6779 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.4471, allocations: 2.188 kB / 0.6779 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.987e-05/0.4471, allocations: 14.83 kB / 0.678 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4472, allocations: 6.75 kB / 0.678 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.192e-05/0.4472, allocations: 12.72 kB / 0.678 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.4472, allocations: 8.688 kB / 0.678 GB, free: 14.4 MB / 0.5137 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 7.731e-05/0.4473, allocations: 145.7 kB / 0.6781 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.4474, allocations: 1.438 kB / 0.6781 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.163e-05/0.4474, allocations: 8.891 kB / 0.6781 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.4474, allocations: 1.531 kB / 0.6781 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.4474, allocations: 0 / 0.6781 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.4474, allocations: 0 / 0.6781 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.4475, allocations: 158.8 kB / 0.6783 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4475, allocations: 0 / 0.6783 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.4475, allocations: 0 / 0.6783 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4475, allocations: 5.125 kB / 0.6783 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.4476, allocations: 1.469 kB / 0.6783 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.4476, allocations: 0 / 0.6783 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4476, allocations: 0 / 0.6783 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.4477, allocations: 169.2 kB / 0.6784 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.4477, allocations: 82.23 kB / 0.6785 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.4477, allocations: 1.312 kB / 0.6785 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.592e-05/0.4478, allocations: 5.312 kB / 0.6785 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.779e-06/0.4478, allocations: 5.188 kB / 0.6785 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.4478, allocations: 1.219 kB / 0.6785 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.597e-05/0.4479, allocations: 103.6 kB / 0.6786 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4479, allocations: 0 / 0.6786 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002345/0.4481, allocations: 8.969 kB / 0.6786 GB, free: 13.66 MB / 0.5137 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.0003502/0.4485, allocations: 0.7102 MB / 0.6793 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.4486, allocations: 83.58 kB / 0.6794 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4486, allocations: 0.9688 kB / 0.6794 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.037e-05/0.4486, allocations: 55.09 kB / 0.6795 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.4488, allocations: 6.75 kB / 0.6795 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.4492, allocations: 150.1 kB / 0.6796 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.4494, allocations: 0.6864 MB / 0.6803 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.099e-05/0.4495, allocations: 10.58 kB / 0.6803 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.203e-05/0.4495, allocations: 13.59 kB / 0.6803 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of SimCode: time 1.9e-07/0.4495, allocations: 0 / 0.6803 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01524/0.4648, allocations: 1.442 MB / 0.6817 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.528/7.993, allocations: 20.05 kB / 0.6817 GB, free: 11.16 MB / 0.5137 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)