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.000864/0.0008641, allocations: 91.84 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.006771/0.006771, allocations: 169.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.373/1.373, 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 0.997/0.997, allocations: 143.2 MB / 434.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003296, allocations: 8 kB / 0.5165 GB, free: 11.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1724, allocations: 83.42 MB / 0.598 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1): time 0.001534/0.174, allocations: 1.147 MB / 0.5991 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005185/0.1745, allocations: 260.1 kB / 0.5993 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.763e-05/0.1745, allocations: 0 / 0.5993 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.272e-05/0.1746, allocations: 8 kB / 0.5993 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.223e-05/0.1746, allocations: 3.938 kB / 0.5993 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.1749, allocations: 47.88 kB / 0.5994 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.386e-05/0.175, allocations: 12 kB / 0.5994 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.163e-05/0.175, allocations: 11.98 kB / 0.5994 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.609e-05/0.1751, allocations: 11.88 kB / 0.5994 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.573e-05/0.1751, allocations: 7.984 kB / 0.5994 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.1752, allocations: 4 kB / 0.5994 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.1753, allocations: 67.86 kB / 0.5995 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.1753, allocations: 7.938 kB / 0.5995 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.1754, allocations: 29.7 kB / 0.5995 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.1755, allocations: 55.84 kB / 0.5996 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1755, allocations: 0 / 0.5996 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1755, allocations: 0 / 0.5996 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.1755, allocations: 0 / 0.5996 GB, free: 5.887 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.0004473/0.176, allocations: 351.7 kB / 0.5999 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.176, allocations: 12.03 kB / 0.5999 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.691e-05/0.1761, allocations: 34.75 kB / 0.6 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.968e-05/0.1761, allocations: 0.9375 kB / 0.6 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.1762, allocations: 160.4 kB / 0.6001 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.1763, allocations: 8.359 kB / 0.6001 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.1763, allocations: 8.312 kB / 0.6001 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.1764, allocations: 54.23 kB / 0.6002 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1765, allocations: 7.938 kB / 0.6002 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.1765, allocations: 0 / 0.6002 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1765, allocations: 3.984 kB / 0.6002 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.1767, allocations: 39.97 kB / 0.6002 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002883/0.177, allocations: 249 kB / 0.6005 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.1771, allocations: 50.44 kB / 0.6005 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.695e-05/0.1772, allocations: 24.84 kB / 0.6006 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006369/0.1778, allocations: 465.5 kB / 0.601 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.1779, allocations: 30.56 kB / 0.601 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1779, allocations: 0 / 0.601 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003617/0.1782, allocations: 109.5 kB / 0.6011 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.1783, allocations: 51.41 kB / 0.6012 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.805e-05/0.1784, allocations: 105.8 kB / 0.6013 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.1784, allocations: 29.83 kB / 0.6013 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.1784, allocations: 80.14 kB / 0.6014 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.1784, allocations: 7.906 kB / 0.6014 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.1785, allocations: 9.719 kB / 0.6014 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1786, allocations: 314.8 kB / 0.6017 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.561e-05/0.1787, allocations: 19.97 kB / 0.6017 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.823e-05/0.1788, allocations: 27.98 kB / 0.6017 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.1789, allocations: 44.83 kB / 0.6018 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.1789, allocations: 8 kB / 0.6018 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001956/0.1791, allocations: 73.66 kB / 0.6019 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.1792, allocations: 8 kB / 0.6019 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1792, allocations: 3.938 kB / 0.6019 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.1792, allocations: 0 / 0.6019 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.771e-05/0.1793, allocations: 16.02 kB / 0.6019 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1793, allocations: 0 / 0.6019 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.938e-05/0.1793, allocations: 8 kB / 0.6019 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.1793, allocations: 3.984 kB / 0.6019 GB, free: 3.188 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.447e-05/0.1794, allocations: 113.8 kB / 0.602 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.1794, allocations: 4 kB / 0.602 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.1797, allocations: 76.78 kB / 0.6021 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.1797, allocations: 4 kB / 0.6021 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1797, allocations: 0 / 0.6021 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1797, allocations: 0 / 0.6021 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.1799, allocations: 165.5 kB / 0.6023 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1799, allocations: 0 / 0.6023 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-05/0.1799, allocations: 15.97 kB / 0.6023 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1799, allocations: 0 / 0.6023 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.18, allocations: 4 kB / 0.6023 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.18, allocations: 0 / 0.6023 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.18, allocations: 7.938 kB / 0.6023 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.1802, allocations: 179.4 kB / 0.6025 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.1803, allocations: 81.09 kB / 0.6025 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.1803, allocations: 0 / 0.6025 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.486e-05/0.1804, allocations: 8 kB / 0.6025 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.1804, allocations: 3.984 kB / 0.6025 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1804, allocations: 8.031 kB / 0.6025 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.52e-05/0.1805, allocations: 83.45 kB / 0.6026 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1805, allocations: 0 / 0.6026 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002271/0.1807, allocations: 16 kB / 0.6026 GB, free: 2.336 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.0005859/0.1813, allocations: 0.7279 MB / 0.6034 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.1815, allocations: 48 kB / 0.6034 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1815, allocations: 0 / 0.6034 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.112e-05/0.1816, allocations: 27.97 kB / 0.6034 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.1819, allocations: 8.062 kB / 0.6034 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/0.1822, allocations: 142.4 kB / 0.6036 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.1825, allocations: 0.677 MB / 0.6042 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.217e-05/0.1825, allocations: 7.906 kB / 0.6042 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.1825, allocations: 11.44 kB / 0.6043 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1825, allocations: 0 / 0.6043 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2636/0.4462, allocations: 1.262 MB / 0.6055 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001281/0.4463, allocations: 194.2 kB / 0.6057 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.12, allocations: 0.8438 kB / 0.6057 GB, free: 39.77 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)