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.005378/0.005378, allocations: 102.2 kB / 15.73 MB, free: 6.031 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.002086/0.002086, allocations: 194.4 kB / 16.67 MB, free: 5.969 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.188 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.9638/0.9638, allocations: 143 MB / 433.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 71.91 kB / 0.5951 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4058, allocations: 82.02 MB / 0.6752 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00161/0.4075, allocations: 0.5819 MB / 0.6758 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000241/0.4077, allocations: 38.38 kB / 0.6758 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.978e-05/0.4078, allocations: 0 / 0.6758 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.844e-05/0.4078, allocations: 0 / 0.6758 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.422e-05/0.4079, allocations: 1.75 kB / 0.6758 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.4081, allocations: 17.08 kB / 0.6758 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.859e-05/0.4081, allocations: 6.172 kB / 0.6758 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.347e-05/0.4082, allocations: 5.219 kB / 0.6758 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.156e-05/0.4082, allocations: 10.17 kB / 0.6758 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.557e-05/0.4083, allocations: 5.062 kB / 0.6758 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.4083, allocations: 0 / 0.6758 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.283e-05/0.4084, allocations: 19.8 kB / 0.6759 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.492e-05/0.4084, allocations: 3.219 kB / 0.6759 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.605e-05/0.4085, allocations: 9.094 kB / 0.6759 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.4086, allocations: 17.97 kB / 0.6759 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4086, allocations: 3.938 kB / 0.6759 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.615e-06/0.4086, allocations: 1.375 kB / 0.6759 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.4086, allocations: 0 / 0.6759 GB, free: 0.5859 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.0003065/0.4089, allocations: 353.5 kB / 0.6762 GB, free: 196 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.409, allocations: 9.031 kB / 0.6762 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.509e-05/0.409, allocations: 44.2 kB / 0.6763 GB, free: 144 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.409, allocations: 2.219 kB / 0.6763 GB, free: 144 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.4091, allocations: 167.9 kB / 0.6765 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.4091, allocations: 1.625 kB / 0.6765 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.4092, allocations: 1.531 kB / 0.6765 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.4093, allocations: 58.75 kB / 0.6765 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.4093, allocations: 3.938 kB / 0.6765 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.4093, allocations: 0 / 0.6765 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.4094, allocations: 9.109 kB / 0.6765 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.842e-05/0.4094, allocations: 23.55 kB / 0.6765 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003371/0.4098, allocations: 263.4 kB / 0.6768 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.931e-05/0.4098, allocations: 29.14 kB / 0.6768 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.4098, allocations: 10.02 kB / 0.6768 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.329e-06/0.4099, allocations: 1.312 kB / 0.6768 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.4099, allocations: 31.59 kB / 0.6769 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 2.314e-06/0.4099, allocations: 4 kB / 0.6769 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0002049/0.4101, allocations: 65.66 kB / 0.6769 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.4102, allocations: 86.25 kB / 0.677 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.396e-05/0.4102, allocations: 117.9 kB / 0.6771 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.4103, allocations: 25.7 kB / 0.6772 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.4103, allocations: 99.92 kB / 0.6772 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.057e-05/0.4103, allocations: 3.938 kB / 0.6772 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.4104, allocations: 33.33 kB / 0.6773 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4105, allocations: 320.2 kB / 0.6776 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.961e-05/0.4106, allocations: 15.64 kB / 0.6776 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.939e-05/0.4106, allocations: 56.8 kB / 0.6777 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.4108, allocations: 136.4 kB / 0.6778 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.4108, allocations: 0.9375 kB / 0.6778 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001601/0.411, allocations: 115.8 kB / 0.6779 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.565e-05/0.411, allocations: 33.77 kB / 0.6779 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.411, allocations: 6.781 kB / 0.6779 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.411, allocations: 2.469 kB / 0.6779 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.634e-05/0.4111, allocations: 13.56 kB / 0.678 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.4111, allocations: 6.859 kB / 0.678 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.151e-05/0.4112, allocations: 7.812 kB / 0.678 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.4112, allocations: 10.59 kB / 0.678 GB, free: 14.37 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 0.0001049/0.4114, allocations: 148.5 kB / 0.6781 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.4114, allocations: 2.125 kB / 0.6781 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.648e-05/0.4114, allocations: 12.67 kB / 0.6781 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4114, allocations: 0 / 0.6781 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4114, allocations: 1.062 kB / 0.6781 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4114, allocations: 0 / 0.6781 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.4116, allocations: 158.2 kB / 0.6783 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.4116, allocations: 0 / 0.6783 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.422e-06/0.4116, allocations: 1.031 kB / 0.6783 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.4116, allocations: 4 kB / 0.6783 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.4116, allocations: 1.062 kB / 0.6783 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.4117, allocations: 5 kB / 0.6783 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4117, allocations: 0 / 0.6783 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.4118, allocations: 165 kB / 0.6785 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.4119, allocations: 82.2 kB / 0.6785 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.4119, allocations: 1.562 kB / 0.6785 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.472e-05/0.4119, allocations: 5.281 kB / 0.6785 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.412, allocations: 1.469 kB / 0.6785 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.412, allocations: 1.344 kB / 0.6785 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.375e-05/0.412, allocations: 94.89 kB / 0.6786 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.432e-06/0.412, allocations: 0 / 0.6786 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002408/0.4123, allocations: 13.31 kB / 0.6786 GB, free: 13.63 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.0005327/0.4128, allocations: 0.7031 MB / 0.6793 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001505/0.413, allocations: 87.62 kB / 0.6794 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.413, allocations: 0 / 0.6794 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.473e-05/0.413, allocations: 59.81 kB / 0.6795 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.4132, allocations: 2.25 kB / 0.6795 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/0.4136, allocations: 150.1 kB / 0.6796 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.4139, allocations: 0.6861 MB / 0.6803 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000106/0.4141, allocations: 13.73 kB / 0.6803 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.4141, allocations: 13.75 kB / 0.6803 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.4141, allocations: 0 / 0.6803 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.4302, allocations: 1.46 MB / 0.6817 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.545/7.975, allocations: 21.42 kB / 0.6818 GB, free: 11.12 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)