Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.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.Functions.Examples.BesselJ0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_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.001352/0.001352, allocations: 100.1 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.001567/0.001566, 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.413/1.413, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.196/1.196, allocations: 143.3 MB / 434.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003356, allocations: 12 kB / 0.5159 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1737, allocations: 83.41 MB / 0.5974 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.0006838/0.1744, allocations: 311 kB / 0.5977 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003683/0.1748, allocations: 167.6 kB / 0.5978 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.065e-06/0.1748, allocations: 0 / 0.5978 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.015e-06/0.1749, allocations: 4 kB / 0.5978 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.847e-06/0.1749, allocations: 0 / 0.5978 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.1752, allocations: 39.84 kB / 0.5979 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.042e-05/0.1752, allocations: 3.984 kB / 0.5979 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.61e-05/0.1752, allocations: 4 kB / 0.5979 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.257e-05/0.1753, allocations: 0 / 0.5979 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.069e-05/0.1753, allocations: 4 kB / 0.5979 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.45e-06/0.1753, allocations: 0 / 0.5979 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.1755, allocations: 59.94 kB / 0.5979 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.941e-06/0.1755, allocations: 3.984 kB / 0.5979 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.1755, allocations: 29.7 kB / 0.598 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.69e-05/0.1756, allocations: 19.97 kB / 0.598 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1756, allocations: 0 / 0.598 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1756, allocations: 0 / 0.598 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.1756, allocations: 0 / 0.598 GB, free: 7.172 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002411/0.1758, allocations: 319.4 kB / 0.5983 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1759, allocations: 12.03 kB / 0.5983 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.903e-05/0.1759, allocations: 30.56 kB / 0.5983 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.717e-05/0.1759, allocations: 0 / 0.5983 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.727e-05/0.176, allocations: 171 kB / 0.5985 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.1761, allocations: 0 / 0.5985 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.1761, allocations: 0 / 0.5985 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.147e-05/0.1762, allocations: 33.7 kB / 0.5985 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.1762, allocations: 0 / 0.5985 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-06/0.1762, allocations: 0 / 0.5985 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.1762, allocations: 0 / 0.5985 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.492e-05/0.1762, allocations: 0 / 0.5985 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.1763, allocations: 153.7 kB / 0.5987 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.34e-05/0.1764, allocations: 22.52 kB / 0.5987 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006777/0.1771, allocations: 461.5 kB / 0.5991 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.1771, allocations: 30.56 kB / 0.5992 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1771, allocations: 0 / 0.5992 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001265/0.1772, allocations: 37.64 kB / 0.5992 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.1773, allocations: 55.41 kB / 0.5993 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.503e-05/0.1773, allocations: 89.86 kB / 0.5993 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.1773, allocations: 29.7 kB / 0.5994 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.398e-05/0.1774, allocations: 84.08 kB / 0.5994 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.1774, allocations: 3.906 kB / 0.5995 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.674e-06/0.1774, allocations: 0 / 0.5995 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1775, allocations: 314.8 kB / 0.5998 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.983e-06/0.1775, allocations: 4.125 kB / 0.5998 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-06/0.1776, allocations: 7.984 kB / 0.5998 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.666e-05/0.1776, allocations: 0 / 0.5998 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1776, allocations: 0 / 0.5998 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.673e-05/0.1776, allocations: 33.7 kB / 0.5998 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.1777, allocations: 8 kB / 0.5998 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1777, allocations: 0 / 0.5998 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/0.1777, allocations: 0 / 0.5998 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.768e-05/0.1777, allocations: 3.938 kB / 0.5998 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1777, allocations: 4.094 kB / 0.5998 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.427e-06/0.1777, allocations: 0 / 0.5998 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1778, allocations: 8 kB / 0.5998 GB, free: 4.98 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 (1): * Single equations (assignments): 1 * 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 6.106e-05/0.1778, allocations: 113.8 kB / 0.5999 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-06/0.1778, allocations: 0 / 0.5999 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.367e-05/0.1779, allocations: 32.83 kB / 0.6 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1779, allocations: 0 / 0.6 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1779, allocations: 0 / 0.6 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1779, allocations: 0 / 0.6 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.514e-05/0.178, allocations: 161.7 kB / 0.6001 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.178, allocations: 0 / 0.6001 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.063e-05/0.178, allocations: 0 / 0.6001 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.178, allocations: 0 / 0.6001 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.1781, allocations: 0 / 0.6001 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1781, allocations: 4 kB / 0.6001 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1781, allocations: 3.938 kB / 0.6001 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.004e-05/0.1781, allocations: 61.06 kB / 0.6002 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.755e-05/0.1782, allocations: 81.06 kB / 0.6003 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.1782, allocations: 4 kB / 0.6003 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.756e-06/0.1782, allocations: 4 kB / 0.6003 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.1782, allocations: 0 / 0.6003 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.1782, allocations: 0 / 0.6003 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.255e-05/0.1782, allocations: 75.28 kB / 0.6003 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1782, allocations: 0 / 0.6003 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001959/0.1784, allocations: 16 kB / 0.6003 GB, free: 4.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 (1): * Single equations (assignments): 1 * 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.0003749/0.1788, allocations: 0.6166 MB / 0.601 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.754e-05/0.1789, allocations: 4 kB / 0.601 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1789, allocations: 8.031 kB / 0.601 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.36e-06/0.1789, allocations: 0 / 0.601 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.665e-05/0.179, allocations: 4 kB / 0.601 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002409/0.1792, allocations: 116.3 kB / 0.6011 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.1794, allocations: 0.6692 MB / 0.6017 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.114e-05/0.1795, allocations: 0 / 0.6017 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.444e-05/0.1795, allocations: 11.44 kB / 0.6017 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1795, allocations: 3.938 kB / 0.6017 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00994/0.1894, allocations: 0.9647 MB / 0.6027 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/0.1896, allocations: 197.9 kB / 0.6029 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/1.87, allocations: 4 kB / 0.6029 GB, free: 1.734 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ0.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) Environment - environmentSimulation: