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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.0009787/0.0009786, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.000936/0.0009359, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9767/0.9767, allocations: 143.3 MB / 434.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003423, allocations: 12 kB / 0.5159 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1926, allocations: 83.41 MB / 0.5974 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1): time 0.001748/0.1944, allocations: 1.132 MB / 0.5985 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005153/0.195, allocations: 248.2 kB / 0.5987 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.02e-05/0.195, allocations: 0 / 0.5987 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.521e-05/0.195, allocations: 4 kB / 0.5987 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.464e-05/0.1951, allocations: 7.984 kB / 0.5987 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.1954, allocations: 39.84 kB / 0.5987 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.124e-05/0.1955, allocations: 15.97 kB / 0.5988 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.155e-05/0.1955, allocations: 0 / 0.5988 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.205e-05/0.1956, allocations: 15.98 kB / 0.5988 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.363e-05/0.1956, allocations: 7.938 kB / 0.5988 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.855e-06/0.1956, allocations: 0 / 0.5988 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.1958, allocations: 63.92 kB / 0.5988 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.036e-06/0.1958, allocations: 4 kB / 0.5988 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.1958, allocations: 33.64 kB / 0.5989 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.554e-05/0.1959, allocations: 31.92 kB / 0.5989 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.196, allocations: 3.938 kB / 0.5989 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.114e-06/0.196, allocations: 0 / 0.5989 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.196, allocations: 0 / 0.5989 GB, free: 6.09 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.0004774/0.1965, allocations: 355.5 kB / 0.5993 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1965, allocations: 11.97 kB / 0.5993 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.505e-05/0.1965, allocations: 30.56 kB / 0.5993 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.611e-05/0.1966, allocations: 4 kB / 0.5993 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.1967, allocations: 163 kB / 0.5995 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1967, allocations: 0 / 0.5995 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.1968, allocations: 4 kB / 0.5995 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.1969, allocations: 57.66 kB / 0.5995 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.197, allocations: 4 kB / 0.5995 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.197, allocations: 4 kB / 0.5995 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.197, allocations: 0 / 0.5995 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.1972, allocations: 51.89 kB / 0.5996 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003287/0.1975, allocations: 244.9 kB / 0.5998 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.1976, allocations: 42.59 kB / 0.5998 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007066/0.1984, allocations: 461.5 kB / 0.6003 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.1984, allocations: 30.56 kB / 0.6003 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1984, allocations: 0 / 0.6003 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003678/0.1988, allocations: 105.5 kB / 0.6004 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.1988, allocations: 55.41 kB / 0.6005 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.179e-05/0.1989, allocations: 101.9 kB / 0.6006 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1989, allocations: 29.7 kB / 0.6006 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.882e-05/0.199, allocations: 80.14 kB / 0.6007 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.199, allocations: 11.89 kB / 0.6007 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-06/0.1991, allocations: 0 / 0.6007 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1992, allocations: 314.8 kB / 0.601 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.191e-05/0.1993, allocations: 15.98 kB / 0.601 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.866e-05/0.1994, allocations: 27.98 kB / 0.601 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.13e-05/0.1995, allocations: 19.97 kB / 0.601 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1995, allocations: 0 / 0.601 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002127/0.1997, allocations: 81.67 kB / 0.6011 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1997, allocations: 10.03 kB / 0.6011 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1997, allocations: 0 / 0.6011 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1998, allocations: 3.938 kB / 0.6011 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.651e-05/0.1999, allocations: 15.98 kB / 0.6011 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1999, allocations: 0 / 0.6011 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.372e-05/0.1999, allocations: 19.97 kB / 0.6012 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.1999, allocations: 0 / 0.6012 GB, free: 3.469 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.63e-05/0.2, allocations: 105.8 kB / 0.6013 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.2001, allocations: 4 kB / 0.6013 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.2003, allocations: 84.72 kB / 0.6014 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2003, allocations: 4 kB / 0.6014 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2003, allocations: 0 / 0.6014 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2003, allocations: 0 / 0.6014 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.2005, allocations: 169.5 kB / 0.6015 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2005, allocations: 0 / 0.6015 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.957e-05/0.2006, allocations: 11.98 kB / 0.6015 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2006, allocations: 32 / 0.6015 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.2006, allocations: 4 kB / 0.6015 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.2006, allocations: 7.984 kB / 0.6015 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2006, allocations: 0 / 0.6015 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.2009, allocations: 175.5 kB / 0.6017 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.2009, allocations: 81.02 kB / 0.6018 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.201, allocations: 3.938 kB / 0.6018 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.637e-05/0.201, allocations: 11.98 kB / 0.6018 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.2011, allocations: 0 / 0.6018 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.2011, allocations: 0 / 0.6018 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.546e-05/0.2011, allocations: 87.45 kB / 0.6019 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2011, allocations: 0 / 0.6019 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002326/0.2014, allocations: 28.02 kB / 0.6019 GB, free: 2.609 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006572/0.202, allocations: 0.7125 MB / 0.6026 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.2023, allocations: 55.89 kB / 0.6027 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2023, allocations: 0 / 0.6027 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.329e-05/0.2024, allocations: 19.98 kB / 0.6027 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.2025, allocations: 8 kB / 0.6027 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.203, allocations: 142.4 kB / 0.6028 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.2033, allocations: 0.6809 MB / 0.6035 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.131e-05/0.2034, allocations: 0 / 0.6035 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.2034, allocations: 11.42 kB / 0.6035 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.2034, allocations: 0 / 0.6035 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2894/0.4928, allocations: 1.24 MB / 0.6047 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001335/0.493, allocations: 175.2 kB / 0.6049 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/2.163, allocations: 0 / 0.6049 GB, free: 40.16 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/linux/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) Environment - environmentSimulation: