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.0007236/0.0007237, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.000786/0.000786, allocations: 168.7 kB / 15.95 MB, free: 204 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.315/1.315, allocations: 223.2 MB / 240 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 0.9746/0.9746, allocations: 143.4 MB / 434.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003319, allocations: 12 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1764, allocations: 83.41 MB / 0.5975 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1): time 0.001336/0.1777, allocations: 1.143 MB / 0.5987 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004407/0.1782, allocations: 236.4 kB / 0.5989 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.006e-05/0.1782, allocations: 3.938 kB / 0.5989 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.184e-05/0.1783, allocations: 3.938 kB / 0.5989 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.23e-05/0.1783, allocations: 0 / 0.5989 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.1785, allocations: 51.88 kB / 0.5989 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.102e-05/0.1786, allocations: 19.92 kB / 0.599 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.46e-05/0.1787, allocations: 4 kB / 0.599 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.797e-05/0.1787, allocations: 4 kB / 0.599 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.307e-05/0.1787, allocations: 15.92 kB / 0.599 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.975e-06/0.1788, allocations: 0 / 0.599 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.1789, allocations: 71.86 kB / 0.5991 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.554e-06/0.1789, allocations: 0 / 0.5991 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.179, allocations: 25.7 kB / 0.5991 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.967e-05/0.179, allocations: 31.95 kB / 0.5991 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1791, allocations: 0 / 0.5991 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1791, allocations: 0 / 0.5991 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.1791, allocations: 0 / 0.5991 GB, free: 6.082 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.0003624/0.1794, allocations: 355.5 kB / 0.5994 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.1795, allocations: 15.97 kB / 0.5995 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.855e-05/0.1795, allocations: 38.48 kB / 0.5995 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.68e-05/0.1795, allocations: 0 / 0.5995 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.1796, allocations: 163 kB / 0.5997 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1797, allocations: 8 kB / 0.5997 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.916e-06/0.1797, allocations: 0 / 0.5997 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.1798, allocations: 57.67 kB / 0.5997 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1799, allocations: 0 / 0.5997 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.1799, allocations: 0 / 0.5997 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.1799, allocations: 0 / 0.5997 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.18, allocations: 47.95 kB / 0.5998 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002579/0.1803, allocations: 252.9 kB / 0.6 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.1804, allocations: 38.56 kB / 0.6 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.824e-05/0.1805, allocations: 32.89 kB / 0.6001 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005959/0.1811, allocations: 469.4 kB / 0.6005 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.1811, allocations: 34.56 kB / 0.6006 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 2.264e-06/0.1812, allocations: 0 / 0.6006 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003186/0.1815, allocations: 105.5 kB / 0.6007 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.1815, allocations: 59.41 kB / 0.6007 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.816e-05/0.1816, allocations: 97.81 kB / 0.6008 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.1816, allocations: 25.7 kB / 0.6008 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.541e-05/0.1816, allocations: 84.14 kB / 0.6009 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.1817, allocations: 11.89 kB / 0.6009 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-06/0.1817, allocations: 0 / 0.6009 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.073e-05/0.1818, allocations: 310.8 kB / 0.6012 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.349e-05/0.1819, allocations: 24.02 kB / 0.6012 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.435e-05/0.1819, allocations: 19.98 kB / 0.6013 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.204e-05/0.182, allocations: 24.05 kB / 0.6013 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.182, allocations: 0 / 0.6013 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001721/0.1822, allocations: 81.59 kB / 0.6014 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.1822, allocations: 4 kB / 0.6014 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.1822, allocations: 0 / 0.6014 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.1822, allocations: 0 / 0.6014 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.604e-05/0.1823, allocations: 16.02 kB / 0.6014 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.1823, allocations: 0 / 0.6014 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.661e-05/0.1824, allocations: 15.94 kB / 0.6014 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.1824, allocations: 0 / 0.6014 GB, free: 3.422 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 7.345e-05/0.1825, allocations: 109.8 kB / 0.6015 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.1825, allocations: 4 kB / 0.6015 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.1827, allocations: 84.72 kB / 0.6016 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1827, allocations: 0 / 0.6016 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1827, allocations: 0 / 0.6016 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1827, allocations: 0 / 0.6016 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.1829, allocations: 169.5 kB / 0.6017 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1829, allocations: 4.031 kB / 0.6017 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.47e-05/0.183, allocations: 11.98 kB / 0.6018 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.183, allocations: 0 / 0.6018 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.183, allocations: 4 kB / 0.6018 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.183, allocations: 0 / 0.6018 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.183, allocations: 0 / 0.6018 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.1832, allocations: 175.5 kB / 0.6019 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.1833, allocations: 81.02 kB / 0.602 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.1833, allocations: 0 / 0.602 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.1833, allocations: 15.92 kB / 0.602 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.1834, allocations: 0 / 0.602 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.1834, allocations: 12.03 kB / 0.602 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.478e-05/0.1834, allocations: 83.22 kB / 0.6021 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1834, allocations: 0 / 0.6021 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002226/0.1837, allocations: 16 kB / 0.6021 GB, free: 2.57 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.0005282/0.1842, allocations: 0.7202 MB / 0.6028 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001836/0.1844, allocations: 51.98 kB / 0.6029 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1844, allocations: 0 / 0.6029 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.894e-05/0.1845, allocations: 27.92 kB / 0.6029 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.1847, allocations: 9.844 kB / 0.6029 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/0.1851, allocations: 130.4 kB / 0.603 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.1853, allocations: 0.677 MB / 0.6037 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.226e-05/0.1854, allocations: 7.984 kB / 0.6037 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.1854, allocations: 11.44 kB / 0.6037 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1854, allocations: 0 / 0.6037 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3129/0.4983, allocations: 1.257 MB / 0.6049 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/0.4985, allocations: 177.9 kB / 0.6051 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/2.182, allocations: 3.5 kB / 0.6051 GB, free: 40.12 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: