Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.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.BesselJ0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ0",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.001069/0.00107, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.006953/0.006953, allocations: 172.6 kB / 16.26 MB, free: 6.676 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.322/1.322, allocations: 223.3 MB / 240.3 MB, free: 5.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 1.002/1.002, allocations: 143.2 MB / 434.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003126, allocations: 12 kB / 0.5165 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1646, allocations: 83.41 MB / 0.598 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0): time 0.001736/0.1664, allocations: 1.147 MB / 0.5991 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005391/0.1669, allocations: 252.1 kB / 0.5993 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.167, allocations: 4 kB / 0.5993 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/0.167, allocations: 7.938 kB / 0.5993 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.063e-05/0.167, allocations: 0 / 0.5993 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.1674, allocations: 43.91 kB / 0.5994 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.519e-05/0.1674, allocations: 19.92 kB / 0.5994 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.189e-05/0.1675, allocations: 8 kB / 0.5994 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.364e-05/0.1676, allocations: 7.922 kB / 0.5994 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.199e-05/0.1676, allocations: 15.92 kB / 0.5994 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.1676, allocations: 0 / 0.5994 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.1678, allocations: 67.88 kB / 0.5995 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.1678, allocations: 7.938 kB / 0.5995 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.1679, allocations: 29.7 kB / 0.5995 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.168, allocations: 55.84 kB / 0.5996 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.168, allocations: 0 / 0.5996 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.462e-06/0.168, allocations: 0 / 0.5996 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.168, allocations: 0 / 0.5996 GB, free: 5.98 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.0004603/0.1685, allocations: 355.7 kB / 0.5999 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1685, allocations: 8.031 kB / 0.5999 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.516e-05/0.1686, allocations: 30.75 kB / 0.6 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.1686, allocations: 4.938 kB / 0.6 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.1687, allocations: 168.3 kB / 0.6001 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.214e-06/0.1688, allocations: 384 / 0.6001 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.1688, allocations: 384 / 0.6001 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.169, allocations: 50.25 kB / 0.6002 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.169, allocations: 15.92 kB / 0.6002 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.169, allocations: 0 / 0.6002 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.169, allocations: 3.984 kB / 0.6002 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.1692, allocations: 39.97 kB / 0.6002 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.1695, allocations: 253 kB / 0.6005 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.1697, allocations: 46.44 kB / 0.6005 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.057e-05/0.1698, allocations: 32.84 kB / 0.6005 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006512/0.1704, allocations: 461.5 kB / 0.601 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.1705, allocations: 30.56 kB / 0.601 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1705, allocations: 0 / 0.601 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003696/0.1708, allocations: 105.5 kB / 0.6011 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.1709, allocations: 55.41 kB / 0.6012 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.469e-05/0.171, allocations: 93.86 kB / 0.6013 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.171, allocations: 29.83 kB / 0.6013 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.171, allocations: 88.12 kB / 0.6014 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.1711, allocations: 3.906 kB / 0.6014 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.1711, allocations: 13.72 kB / 0.6014 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1712, allocations: 310.8 kB / 0.6017 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.344e-05/0.1713, allocations: 19.98 kB / 0.6017 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.048e-05/0.1714, allocations: 27.97 kB / 0.6017 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.1716, allocations: 48.83 kB / 0.6018 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.1716, allocations: 4 kB / 0.6018 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001911/0.1718, allocations: 81.59 kB / 0.6019 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1718, allocations: 4 kB / 0.6019 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.1718, allocations: 4 kB / 0.6019 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1718, allocations: 3.938 kB / 0.6019 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.373e-05/0.1719, allocations: 16.02 kB / 0.6019 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1719, allocations: 3.984 kB / 0.6019 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.172, allocations: 4 kB / 0.6019 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.172, allocations: 4 kB / 0.6019 GB, free: 3.281 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 7.861e-05/0.1721, allocations: 109.8 kB / 0.602 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.1721, allocations: 0 / 0.602 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/0.1723, allocations: 88.77 kB / 0.6021 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1723, allocations: 0 / 0.6021 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.1724, allocations: 4 kB / 0.6021 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1724, allocations: 3.938 kB / 0.6021 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.1725, allocations: 165.5 kB / 0.6022 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1725, allocations: 0 / 0.6022 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.613e-05/0.1726, allocations: 16.02 kB / 0.6023 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1726, allocations: 0 / 0.6023 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1726, allocations: 0 / 0.6023 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.1726, allocations: 0 / 0.6023 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1726, allocations: 3.938 kB / 0.6023 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.1729, allocations: 183.4 kB / 0.6024 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.173, allocations: 77.11 kB / 0.6025 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.173, allocations: 0 / 0.6025 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.642e-05/0.173, allocations: 11.98 kB / 0.6025 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.1731, allocations: 0 / 0.6025 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.1731, allocations: 0 / 0.6025 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.051e-05/0.1732, allocations: 91.3 kB / 0.6026 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1732, allocations: 0 / 0.6026 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002291/0.1734, allocations: 12 kB / 0.6026 GB, free: 2.434 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.0006505/0.1741, allocations: 0.728 MB / 0.6033 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.1743, allocations: 48 kB / 0.6034 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1743, allocations: 0 / 0.6034 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.941e-05/0.1744, allocations: 27.92 kB / 0.6034 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.1746, allocations: 5.703 kB / 0.6034 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.175, allocations: 142.5 kB / 0.6035 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.1753, allocations: 0.6735 MB / 0.6042 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.198e-05/0.1754, allocations: 3.906 kB / 0.6042 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.1754, allocations: 15.42 kB / 0.6042 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1754, allocations: 0 / 0.6042 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2796/0.455, allocations: 1.255 MB / 0.6054 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/0.4552, allocations: 194.9 kB / 0.6056 GB, free: 39.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.158, allocations: 0 / 0.6056 GB, free: 39.89 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ0.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)