Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_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.0008733/0.0008734, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009824/0.0009823, allocations: 172.7 kB / 15.95 MB, free: 208 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.347/1.347, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9754/0.9754, allocations: 143.4 MB / 434.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003084, allocations: 8 kB / 0.5161 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1747, allocations: 83.42 MB / 0.5976 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1): time 0.0007391/0.1755, allocations: 307.1 kB / 0.5978 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004043/0.1759, allocations: 179.5 kB / 0.598 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.626e-06/0.1759, allocations: 0 / 0.598 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.348e-06/0.176, allocations: 4 kB / 0.598 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.972e-06/0.176, allocations: 0 / 0.598 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.1763, allocations: 47.89 kB / 0.5981 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.942e-05/0.1763, allocations: 0 / 0.5981 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.1764, allocations: 3.984 kB / 0.5981 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.434e-05/0.1764, allocations: 0 / 0.5981 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.372e-05/0.1764, allocations: 0 / 0.5981 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.574e-06/0.1765, allocations: 0 / 0.5981 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.1766, allocations: 67.88 kB / 0.5981 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.031e-06/0.1767, allocations: 0 / 0.5981 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.719e-05/0.1767, allocations: 25.7 kB / 0.5982 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.351e-05/0.1768, allocations: 23.95 kB / 0.5982 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1768, allocations: 0 / 0.5982 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.863e-06/0.1768, allocations: 4 kB / 0.5982 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.1768, allocations: 0 / 0.5982 GB, free: 6.988 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.0002854/0.1771, allocations: 315.4 kB / 0.5985 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1772, allocations: 15.97 kB / 0.5985 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.1772, allocations: 30.56 kB / 0.5985 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.221e-05/0.1772, allocations: 3.938 kB / 0.5985 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.1774, allocations: 167 kB / 0.5987 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1774, allocations: 0 / 0.5987 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.1774, allocations: 0 / 0.5987 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.1775, allocations: 33.7 kB / 0.5987 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.1775, allocations: 0 / 0.5987 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.1775, allocations: 0 / 0.5987 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.1775, allocations: 0 / 0.5987 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.074e-05/0.1776, allocations: 0 / 0.5987 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.1777, allocations: 153.7 kB / 0.5989 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.409e-05/0.1778, allocations: 22.5 kB / 0.5989 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.467e-05/0.1778, allocations: 4.859 kB / 0.5989 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007437/0.1786, allocations: 469.5 kB / 0.5993 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.1786, allocations: 30.56 kB / 0.5994 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1786, allocations: 0 / 0.5994 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001213/0.1787, allocations: 33.7 kB / 0.5994 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.1788, allocations: 55.34 kB / 0.5995 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.36e-05/0.1788, allocations: 93.86 kB / 0.5996 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.1788, allocations: 29.64 kB / 0.5996 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.691e-05/0.1789, allocations: 80.14 kB / 0.5997 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.1789, allocations: 7.906 kB / 0.5997 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-06/0.1789, allocations: 0 / 0.5997 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.179, allocations: 314.8 kB / 0.6 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.423e-06/0.179, allocations: 128 / 0.6 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-06/0.179, allocations: 11.98 kB / 0.6 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.485e-05/0.1791, allocations: 0 / 0.6 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1791, allocations: 0 / 0.6 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.653e-05/0.1791, allocations: 29.7 kB / 0.6 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1791, allocations: 8 kB / 0.6 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1792, allocations: 0 / 0.6 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1792, allocations: 4 kB / 0.6 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.839e-05/0.1792, allocations: 0 / 0.6 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1792, allocations: 0 / 0.6 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.034e-05/0.1792, allocations: 8.031 kB / 0.6 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.1793, allocations: 7.938 kB / 0.6 GB, free: 4.781 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.592e-05/0.1793, allocations: 117.8 kB / 0.6001 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-06/0.1793, allocations: 0 / 0.6001 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.731e-05/0.1794, allocations: 32.83 kB / 0.6002 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1794, allocations: 0 / 0.6002 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1794, allocations: 0 / 0.6002 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1794, allocations: 0 / 0.6002 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.687e-05/0.1795, allocations: 153.6 kB / 0.6003 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1795, allocations: 4.031 kB / 0.6003 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.918e-06/0.1796, allocations: 0 / 0.6003 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1796, allocations: 0 / 0.6003 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.1796, allocations: 0 / 0.6003 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1796, allocations: 4 kB / 0.6003 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1796, allocations: 0 / 0.6003 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.073e-05/0.1797, allocations: 61.06 kB / 0.6004 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.1797, allocations: 81.06 kB / 0.6005 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.1797, allocations: 4.031 kB / 0.6005 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.093e-06/0.1797, allocations: 4 kB / 0.6005 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.047e-05/0.1797, allocations: 0 / 0.6005 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.1797, allocations: 0 / 0.6005 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.214e-05/0.1798, allocations: 75.28 kB / 0.6005 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1798, allocations: 0 / 0.6005 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001887/0.18, allocations: 12 kB / 0.6006 GB, free: 4.145 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.0004926/0.1805, allocations: 0.6311 MB / 0.6012 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.015e-05/0.1806, allocations: 7.938 kB / 0.6012 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1806, allocations: 0 / 0.6012 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.38e-06/0.1806, allocations: 4.094 kB / 0.6012 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.1807, allocations: 6.406 kB / 0.6012 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002691/0.181, allocations: 112.3 kB / 0.6013 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.1812, allocations: 0.6692 MB / 0.602 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.281e-05/0.1813, allocations: 0 / 0.602 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.404e-05/0.1813, allocations: 7.438 kB / 0.602 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1813, allocations: 0 / 0.602 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01038/0.1917, allocations: 0.9997 MB / 0.6029 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/0.1919, allocations: 197 kB / 0.6031 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/1.845, allocations: 4 kB / 0.6031 GB, free: 1.512 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ1.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) Environment - environmentSimulation: