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.008638/0.008638, allocations: 103.8 kB / 15.73 MB, free: 6.008 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.001899/0.001899, allocations: 197.4 kB / 16.68 MB, free: 5.934 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.8913/0.8913, allocations: 143.1 MB / 433.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 66.33 kB / 0.5951 GB, free: 12.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1892, allocations: 82.04 MB / 0.6752 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0): time 0.002874/0.1921, allocations: 1.434 MB / 0.6766 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000569/0.1927, allocations: 244.1 kB / 0.6768 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.316e-05/0.1927, allocations: 0 / 0.6768 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.157e-05/0.1928, allocations: 7.984 kB / 0.6768 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.067e-05/0.1928, allocations: 3.938 kB / 0.6768 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.1932, allocations: 55.81 kB / 0.6769 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.392e-05/0.1933, allocations: 19.94 kB / 0.6769 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.889e-05/0.1934, allocations: 7.984 kB / 0.6769 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.371e-05/0.1935, allocations: 8 kB / 0.6769 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.843e-05/0.1935, allocations: 19.92 kB / 0.6769 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.1935, allocations: 0 / 0.6769 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.1937, allocations: 55.94 kB / 0.677 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.1937, allocations: 7.984 kB / 0.677 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.1938, allocations: 11.94 kB / 0.677 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.1939, allocations: 51.8 kB / 0.677 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.194, allocations: 0 / 0.677 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.192e-06/0.194, allocations: 0 / 0.677 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.194, allocations: 0 / 0.677 GB, free: 8.906 MB / 0.5137 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.0004816/0.1945, allocations: 350.3 kB / 0.6774 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.1945, allocations: 8.031 kB / 0.6774 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.743e-05/0.1945, allocations: 38.73 kB / 0.6774 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.881e-05/0.1946, allocations: 0.9375 kB / 0.6774 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.1947, allocations: 160.4 kB / 0.6776 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.1947, allocations: 4.375 kB / 0.6776 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.1947, allocations: 4.375 kB / 0.6776 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.1949, allocations: 46.23 kB / 0.6776 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.195, allocations: 7.875 kB / 0.6776 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.195, allocations: 8 kB / 0.6776 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.195, allocations: 0 / 0.6776 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.1952, allocations: 35.95 kB / 0.6777 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003213/0.1955, allocations: 241 kB / 0.6779 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.1956, allocations: 38.5 kB / 0.6779 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.11e-05/0.1957, allocations: 24.89 kB / 0.678 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006671/0.1964, allocations: 457.5 kB / 0.6784 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.1964, allocations: 42.44 kB / 0.6784 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.1964, allocations: 4 kB / 0.6784 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003484/0.1968, allocations: 85.55 kB / 0.6785 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.1968, allocations: 51.41 kB / 0.6786 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.1969, allocations: 101.8 kB / 0.6787 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.197, allocations: 25.7 kB / 0.6787 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.197, allocations: 88.08 kB / 0.6788 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.1971, allocations: 4.875 kB / 0.6788 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.1971, allocations: 17.72 kB / 0.6788 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1973, allocations: 318.8 kB / 0.6791 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.454e-05/0.1974, allocations: 11.98 kB / 0.6791 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.202e-05/0.1975, allocations: 19.92 kB / 0.6791 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.1976, allocations: 40.89 kB / 0.6792 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1976, allocations: 3.938 kB / 0.6792 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002223/0.1979, allocations: 65.66 kB / 0.6792 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1979, allocations: 4 kB / 0.6792 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1979, allocations: 0 / 0.6792 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.1979, allocations: 0 / 0.6792 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.109e-05/0.198, allocations: 11.98 kB / 0.6793 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.1981, allocations: 3.984 kB / 0.6793 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.941e-05/0.1981, allocations: 15.95 kB / 0.6793 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.1981, allocations: 0 / 0.6793 GB, free: 6.289 MB / 0.5137 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 0.0001012/0.1982, allocations: 117.7 kB / 0.6794 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.1983, allocations: 4 kB / 0.6794 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.1985, allocations: 64.78 kB / 0.6795 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1985, allocations: 0 / 0.6795 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1985, allocations: 4.031 kB / 0.6795 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1985, allocations: 4 kB / 0.6795 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.1988, allocations: 161.6 kB / 0.6796 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1988, allocations: 0 / 0.6796 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-05/0.1988, allocations: 11.98 kB / 0.6796 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.1988, allocations: 0 / 0.6796 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.1989, allocations: 4 kB / 0.6796 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1989, allocations: 0 / 0.6796 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1989, allocations: 0 / 0.6796 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.1991, allocations: 171.3 kB / 0.6798 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.129e-05/0.1992, allocations: 77.11 kB / 0.6799 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.1992, allocations: 0 / 0.6799 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.753e-05/0.1993, allocations: 11.98 kB / 0.6799 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.1994, allocations: 0 / 0.6799 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.1994, allocations: 4 kB / 0.6799 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.265e-05/0.1995, allocations: 79.31 kB / 0.68 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1995, allocations: 7.875 kB / 0.68 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002628/0.1998, allocations: 20 kB / 0.68 GB, free: 5.465 MB / 0.5137 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.0007167/0.2005, allocations: 0.7124 MB / 0.6807 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.2007, allocations: 35.95 kB / 0.6807 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2007, allocations: 0 / 0.6807 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.084e-05/0.2008, allocations: 19.98 kB / 0.6807 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.201, allocations: 8.125 kB / 0.6807 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004769/0.2015, allocations: 143.1 kB / 0.6809 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.2018, allocations: 0.6768 MB / 0.6815 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.39e-05/0.2019, allocations: 3.938 kB / 0.6815 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.2019, allocations: 11.44 kB / 0.6816 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of SimCode: time 9.72e-07/0.2019, allocations: 0 / 0.6816 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.221, allocations: 1.531 MB / 0.683 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.459/7.68, allocations: 5.562 kB / 0.6831 GB, free: 2.312 MB / 0.5137 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)