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.001989/0.001989, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00255/0.00255, allocations: 197.7 kB / 16.53 MB, free: 6.664 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.426/1.426, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.9835/0.9835, allocations: 143 MB / 433.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002078, allocations: 63.84 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1753, allocations: 82.04 MB / 0.5944 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0): time 0.003078/0.1784, allocations: 1.416 MB / 0.5958 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006244/0.1791, allocations: 240.1 kB / 0.596 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.705e-05/0.1791, allocations: 0 / 0.596 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.097e-05/0.1792, allocations: 7.938 kB / 0.596 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.926e-05/0.1793, allocations: 3.984 kB / 0.596 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000456/0.1797, allocations: 55.83 kB / 0.5961 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.669e-05/0.1798, allocations: 19.92 kB / 0.5961 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1799, allocations: 4 kB / 0.5961 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.084e-05/0.18, allocations: 11.94 kB / 0.5961 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.769e-05/0.18, allocations: 15.97 kB / 0.5961 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.1801, allocations: 0 / 0.5961 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.1802, allocations: 67.88 kB / 0.5962 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.1803, allocations: 3.938 kB / 0.5962 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.1803, allocations: 8 kB / 0.5962 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.1805, allocations: 51.86 kB / 0.5962 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1805, allocations: 0 / 0.5962 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1805, allocations: 3.938 kB / 0.5962 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.1805, allocations: 0 / 0.5962 GB, free: 7.582 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.00051/0.181, allocations: 353.7 kB / 0.5966 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1811, allocations: 8.031 kB / 0.5966 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.907e-05/0.1811, allocations: 38.75 kB / 0.5966 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.587e-05/0.1811, allocations: 4.938 kB / 0.5966 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.1813, allocations: 160.4 kB / 0.5968 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.1813, allocations: 384 / 0.5968 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.1813, allocations: 8.359 kB / 0.5968 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.1815, allocations: 50.17 kB / 0.5968 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1815, allocations: 7.938 kB / 0.5969 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1815, allocations: 0 / 0.5969 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1815, allocations: 0 / 0.5969 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.1817, allocations: 35.95 kB / 0.5969 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.182, allocations: 244.9 kB / 0.5971 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.1822, allocations: 54.36 kB / 0.5972 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.752e-05/0.1823, allocations: 20.91 kB / 0.5972 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006782/0.183, allocations: 453.5 kB / 0.5976 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.183, allocations: 34.55 kB / 0.5977 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.183, allocations: 0 / 0.5977 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003643/0.1834, allocations: 81.66 kB / 0.5977 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.1834, allocations: 51.41 kB / 0.5978 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.08e-05/0.1835, allocations: 101.8 kB / 0.5979 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1835, allocations: 29.64 kB / 0.5979 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.272e-05/0.1836, allocations: 80.14 kB / 0.598 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.1836, allocations: 7.906 kB / 0.598 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.1837, allocations: 17.83 kB / 0.598 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1838, allocations: 314.8 kB / 0.5983 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.668e-05/0.1839, allocations: 19.98 kB / 0.5983 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.041e-05/0.184, allocations: 11.98 kB / 0.5983 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.1841, allocations: 40.81 kB / 0.5984 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1841, allocations: 4 kB / 0.5984 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001884/0.1843, allocations: 65.67 kB / 0.5984 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1844, allocations: 6.5 kB / 0.5985 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1844, allocations: 3.984 kB / 0.5985 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.1844, allocations: 0 / 0.5985 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.569e-05/0.1845, allocations: 11.94 kB / 0.5985 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1845, allocations: 0 / 0.5985 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.81e-05/0.1846, allocations: 11.98 kB / 0.5985 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.1846, allocations: 4.031 kB / 0.5985 GB, free: 4.969 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.701e-05/0.1847, allocations: 109.8 kB / 0.5986 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.1847, allocations: 4 kB / 0.5986 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.1849, allocations: 72.72 kB / 0.5987 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1849, allocations: 0 / 0.5987 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.1849, allocations: 3.984 kB / 0.5987 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.1849, allocations: 0 / 0.5987 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.1851, allocations: 169.5 kB / 0.5988 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1851, allocations: 0 / 0.5988 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.615e-05/0.1852, allocations: 15.98 kB / 0.5988 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.1852, allocations: 0 / 0.5988 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.1852, allocations: 3.938 kB / 0.5988 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1852, allocations: 3.938 kB / 0.5989 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1852, allocations: 0 / 0.5989 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.1855, allocations: 167.5 kB / 0.599 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.638e-05/0.1855, allocations: 81.11 kB / 0.5991 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.1855, allocations: 0 / 0.5991 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/0.1856, allocations: 7.984 kB / 0.5991 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.1856, allocations: 0 / 0.5991 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.1857, allocations: 192 / 0.5991 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.977e-05/0.1857, allocations: 83.27 kB / 0.5992 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1857, allocations: 0 / 0.5992 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002662/0.186, allocations: 28.02 kB / 0.5992 GB, free: 4.137 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.0006061/0.1866, allocations: 0.7241 MB / 0.5999 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000207/0.1868, allocations: 35.95 kB / 0.5999 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1868, allocations: 0 / 0.5999 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.885e-05/0.1869, allocations: 15.98 kB / 0.6 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.1871, allocations: 4 kB / 0.6 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004037/0.1875, allocations: 151.1 kB / 0.6001 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.1878, allocations: 0.6729 MB / 0.6008 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.342e-05/0.1878, allocations: 3.984 kB / 0.6008 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.1878, allocations: 15.42 kB / 0.6008 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1878, allocations: 0 / 0.6008 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08091/0.2688, allocations: 1.472 MB / 0.6022 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.613/7.882, allocations: 19.77 kB / 0.6022 GB, free: 0.9961 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)