Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.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.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ1",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.00104/0.00104, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001169/0.001169, allocations: 193.7 kB / 16.25 MB, free: 6.621 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.507/1.507, allocations: 222.9 MB / 239.9 MB, free: 4.473 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 1.035/1.035, allocations: 143 MB / 433.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 59.91 kB / 0.5138 GB, free: 11.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.21, allocations: 82.05 MB / 0.5939 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1): time 0.003059/0.2131, allocations: 1.475 MB / 0.5953 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005644/0.2137, allocations: 260 kB / 0.5956 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.691e-05/0.2137, allocations: 4 kB / 0.5956 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.224e-05/0.2138, allocations: 0 / 0.5956 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.246e-05/0.2139, allocations: 3.938 kB / 0.5956 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.2142, allocations: 55.89 kB / 0.5957 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.929e-05/0.2143, allocations: 23.92 kB / 0.5957 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.277e-05/0.2144, allocations: 4 kB / 0.5957 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.824e-05/0.2144, allocations: 11.94 kB / 0.5957 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.376e-05/0.2144, allocations: 11.98 kB / 0.5957 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.2145, allocations: 4 kB / 0.5957 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.2146, allocations: 67.86 kB / 0.5958 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.2146, allocations: 7.938 kB / 0.5958 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.2147, allocations: 11.92 kB / 0.5958 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.2148, allocations: 51.86 kB / 0.5958 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.2148, allocations: 4 kB / 0.5958 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2148, allocations: 0 / 0.5958 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.2148, allocations: 4 kB / 0.5958 GB, free: 7.879 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004262/0.2153, allocations: 347.7 kB / 0.5962 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.2153, allocations: 8.031 kB / 0.5962 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.2154, allocations: 38.73 kB / 0.5962 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.067e-05/0.2154, allocations: 0.9375 kB / 0.5962 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.2155, allocations: 164.4 kB / 0.5964 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.2155, allocations: 4.312 kB / 0.5964 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.2155, allocations: 384 / 0.5964 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.2157, allocations: 50.23 kB / 0.5964 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2157, allocations: 7.938 kB / 0.5964 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.2157, allocations: 0 / 0.5964 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.2157, allocations: 0 / 0.5964 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.2159, allocations: 39.89 kB / 0.5965 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.2162, allocations: 244.9 kB / 0.5967 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.2163, allocations: 46.44 kB / 0.5968 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.298e-05/0.2164, allocations: 28.89 kB / 0.5968 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006969/0.2171, allocations: 449.5 kB / 0.5972 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.2172, allocations: 42.55 kB / 0.5973 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.2172, allocations: 0 / 0.5973 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003115/0.2175, allocations: 73.66 kB / 0.5973 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.2175, allocations: 59.33 kB / 0.5974 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.43e-05/0.2176, allocations: 97.86 kB / 0.5975 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.2176, allocations: 29.7 kB / 0.5975 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.2177, allocations: 84.27 kB / 0.5976 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.2177, allocations: 7.906 kB / 0.5976 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.2177, allocations: 17.7 kB / 0.5976 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2178, allocations: 310.8 kB / 0.5979 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.681e-05/0.2179, allocations: 15.98 kB / 0.5979 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.779e-05/0.218, allocations: 15.98 kB / 0.5979 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.2181, allocations: 40.88 kB / 0.598 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.2182, allocations: 3.938 kB / 0.598 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001862/0.2183, allocations: 69.8 kB / 0.598 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2184, allocations: 7.984 kB / 0.5981 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2184, allocations: 0 / 0.5981 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.2184, allocations: 0 / 0.5981 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.334e-05/0.2185, allocations: 16.02 kB / 0.5981 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.2185, allocations: 0 / 0.5981 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.527e-05/0.2185, allocations: 7.984 kB / 0.5981 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.2185, allocations: 3.938 kB / 0.5981 GB, free: 5.266 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 6.196e-05/0.2186, allocations: 113.8 kB / 0.5982 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.2186, allocations: 0 / 0.5982 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.2189, allocations: 76.77 kB / 0.5983 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2189, allocations: 7.984 kB / 0.5983 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2189, allocations: 0 / 0.5983 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2189, allocations: 0 / 0.5983 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.2191, allocations: 165.5 kB / 0.5984 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2191, allocations: 0 / 0.5984 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-05/0.2191, allocations: 11.92 kB / 0.5984 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2191, allocations: 7.938 kB / 0.5984 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.2191, allocations: 4 kB / 0.5984 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2191, allocations: 0 / 0.5984 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2192, allocations: 0 / 0.5984 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.2194, allocations: 167.5 kB / 0.5986 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.2194, allocations: 77.11 kB / 0.5987 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.2194, allocations: 0 / 0.5987 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.096e-05/0.2195, allocations: 7.984 kB / 0.5987 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.2196, allocations: 0 / 0.5987 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.2196, allocations: 8.031 kB / 0.5987 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.522e-05/0.2196, allocations: 83.27 kB / 0.5988 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2196, allocations: 4 kB / 0.5988 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002393/0.2199, allocations: 12 kB / 0.5988 GB, free: 4.438 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0005854/0.2205, allocations: 0.7163 MB / 0.5995 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001947/0.2207, allocations: 35.95 kB / 0.5995 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2207, allocations: 4 kB / 0.5995 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.857e-05/0.2208, allocations: 24.02 kB / 0.5996 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.221, allocations: 4 kB / 0.5996 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003746/0.2213, allocations: 151 kB / 0.5997 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.2216, allocations: 0.6729 MB / 0.6004 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.139e-05/0.2216, allocations: 3.984 kB / 0.6004 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.2217, allocations: 15.5 kB / 0.6004 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.2217, allocations: 0 / 0.6004 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01203/0.2337, allocations: 1.368 MB / 0.6017 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002683/0.234, allocations: 191.6 kB / 0.6019 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/1.998, allocations: 0 / 0.6019 GB, free: 1.219 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ1.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)