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.00119/0.00119, allocations: 105.4 kB / 15.7 MB, free: 24 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.001412/0.001412, allocations: 196.9 kB / 16.64 MB, free: 6.453 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.36/1.36, allocations: 222.9 MB / 240.3 MB, free: 4.34 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.011/1.011, allocations: 143 MB / 433.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.91 kB / 0.5144 GB, free: 11.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1774, allocations: 82.04 MB / 0.5945 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0): time 0.002433/0.1799, allocations: 1.437 MB / 0.5959 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004939/0.1804, allocations: 228.1 kB / 0.5962 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.364e-05/0.1805, allocations: 0 / 0.5962 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.845e-05/0.1805, allocations: 4 kB / 0.5962 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.785e-05/0.1805, allocations: 11.92 kB / 0.5962 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.1809, allocations: 51.83 kB / 0.5962 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.868e-05/0.1809, allocations: 27.86 kB / 0.5963 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.691e-05/0.181, allocations: 4 kB / 0.5963 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.469e-05/0.181, allocations: 11.98 kB / 0.5963 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.355e-05/0.1811, allocations: 11.92 kB / 0.5963 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.925e-06/0.1811, allocations: 0 / 0.5963 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.1812, allocations: 59.94 kB / 0.5963 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.899e-06/0.1812, allocations: 15.88 kB / 0.5964 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.176e-05/0.1813, allocations: 11.94 kB / 0.5964 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.1814, allocations: 51.91 kB / 0.5964 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1814, allocations: 0 / 0.5964 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1814, allocations: 3.938 kB / 0.5964 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1814, allocations: 0 / 0.5964 GB, free: 7.469 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.0004223/0.1819, allocations: 351 kB / 0.5968 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1819, allocations: 8.031 kB / 0.5968 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.065e-05/0.1819, allocations: 34.75 kB / 0.5968 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.165e-05/0.182, allocations: 4.938 kB / 0.5968 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.1821, allocations: 160.4 kB / 0.597 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1821, allocations: 4.375 kB / 0.597 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.1821, allocations: 384 / 0.597 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.1823, allocations: 54.17 kB / 0.597 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1823, allocations: 3.938 kB / 0.597 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.1823, allocations: 0 / 0.597 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1823, allocations: 0 / 0.597 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.1825, allocations: 39.95 kB / 0.5971 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.1827, allocations: 248.8 kB / 0.5973 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.1829, allocations: 42.53 kB / 0.5973 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.508e-05/0.183, allocations: 16.91 kB / 0.5973 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006365/0.1836, allocations: 465.4 kB / 0.5978 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.1837, allocations: 30.56 kB / 0.5978 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.1837, allocations: 0 / 0.5978 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003376/0.184, allocations: 85.64 kB / 0.5979 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.184, allocations: 51.41 kB / 0.598 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.232e-05/0.1841, allocations: 93.86 kB / 0.598 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.1841, allocations: 25.7 kB / 0.5981 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.092e-05/0.1842, allocations: 88.14 kB / 0.5981 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.1842, allocations: 3.906 kB / 0.5982 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.1842, allocations: 13.7 kB / 0.5982 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1844, allocations: 323 kB / 0.5985 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.695e-05/0.1845, allocations: 15.92 kB / 0.5985 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.631e-05/0.1845, allocations: 15.98 kB / 0.5985 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.1847, allocations: 40.81 kB / 0.5985 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1847, allocations: 3.938 kB / 0.5985 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001746/0.1849, allocations: 65.73 kB / 0.5986 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1849, allocations: 7.984 kB / 0.5986 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.1849, allocations: 0 / 0.5986 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1849, allocations: 3.938 kB / 0.5986 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.684e-05/0.185, allocations: 8 kB / 0.5986 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.185, allocations: 0 / 0.5986 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.581e-05/0.1851, allocations: 11.92 kB / 0.5986 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.1851, allocations: 3.938 kB / 0.5986 GB, free: 4.867 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.914e-05/0.1851, allocations: 117.8 kB / 0.5988 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.1852, allocations: 4 kB / 0.5988 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/0.1854, allocations: 72.77 kB / 0.5988 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1854, allocations: 0 / 0.5988 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.1854, allocations: 0 / 0.5988 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1854, allocations: 4.188 kB / 0.5988 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.1856, allocations: 169.4 kB / 0.599 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1856, allocations: 4.031 kB / 0.599 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-05/0.1856, allocations: 11.97 kB / 0.599 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1856, allocations: 0 / 0.599 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.1857, allocations: 4 kB / 0.599 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1857, allocations: 3.984 kB / 0.599 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1857, allocations: 0 / 0.599 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.1859, allocations: 171.4 kB / 0.5992 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.931e-05/0.1859, allocations: 77.11 kB / 0.5993 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.1859, allocations: 0 / 0.5993 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.186, allocations: 7.984 kB / 0.5993 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.186, allocations: 4 kB / 0.5993 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.1861, allocations: 0 / 0.5993 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.519e-05/0.1861, allocations: 83.27 kB / 0.5993 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1861, allocations: 0 / 0.5993 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002299/0.1863, allocations: 20 kB / 0.5994 GB, free: 4.031 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.0005451/0.1869, allocations: 0.7202 MB / 0.6001 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001952/0.1871, allocations: 35.95 kB / 0.6001 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1871, allocations: 0 / 0.6001 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.855e-05/0.1872, allocations: 19.98 kB / 0.6001 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.1874, allocations: 6.531 kB / 0.6001 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/0.1878, allocations: 147.1 kB / 0.6003 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.1881, allocations: 0.6729 MB / 0.6009 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.128e-05/0.1881, allocations: 7.922 kB / 0.6009 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.1881, allocations: 15.44 kB / 0.6009 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1881, allocations: 0 / 0.6009 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.2059, allocations: 1.499 MB / 0.6024 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.451/7.657, allocations: 15.36 kB / 0.6024 GB, free: 0.8867 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)