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.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.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.0009195/0.0009195, allocations: 99.86 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.0009679/0.0009679, allocations: 177.3 kB / 15.94 MB, free: 228 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.37/1.37, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9839/0.9839, allocations: 143.3 MB / 434.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004373, allocations: 12 kB / 0.5159 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2122, allocations: 83.41 MB / 0.5974 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0): time 0.001651/0.2139, allocations: 1.14 MB / 0.5985 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004706/0.2144, allocations: 228.3 kB / 0.5987 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.502e-05/0.2144, allocations: 0 / 0.5987 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.241e-05/0.2144, allocations: 3.938 kB / 0.5987 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.215e-05/0.2145, allocations: 7.984 kB / 0.5987 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.2148, allocations: 39.84 kB / 0.5987 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.467e-05/0.2149, allocations: 15.97 kB / 0.5987 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.964e-05/0.215, allocations: 4 kB / 0.5987 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.571e-05/0.2151, allocations: 8 kB / 0.5988 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.963e-05/0.2151, allocations: 11.92 kB / 0.5988 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.2151, allocations: 3.938 kB / 0.5988 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.2153, allocations: 63.92 kB / 0.5988 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.2153, allocations: 4 kB / 0.5988 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.2153, allocations: 25.7 kB / 0.5989 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.2154, allocations: 31.94 kB / 0.5989 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2155, allocations: 3.938 kB / 0.5989 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2155, allocations: 4 kB / 0.5989 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.2155, allocations: 0 / 0.5989 GB, free: 6.223 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.0004898/0.216, allocations: 351.5 kB / 0.5992 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.803e-05/0.216, allocations: 8.031 kB / 0.5992 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.865e-05/0.2161, allocations: 38.48 kB / 0.5993 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.2161, allocations: 4 kB / 0.5993 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.2165, allocations: 163 kB / 0.5994 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.2165, allocations: 11.98 kB / 0.5994 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.2165, allocations: 0 / 0.5994 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.2167, allocations: 53.67 kB / 0.5995 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.2167, allocations: 0 / 0.5995 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.2168, allocations: 4 kB / 0.5995 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.2168, allocations: 0 / 0.5995 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.217, allocations: 51.89 kB / 0.5996 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.2174, allocations: 248.9 kB / 0.5998 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.2175, allocations: 42.56 kB / 0.5998 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007422/0.2183, allocations: 453.5 kB / 0.6003 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.2183, allocations: 30.56 kB / 0.6003 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 3.266e-06/0.2183, allocations: 4 kB / 0.6003 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004161/0.2188, allocations: 105.5 kB / 0.6004 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.2188, allocations: 51.53 kB / 0.6004 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.2189, allocations: 109.8 kB / 0.6006 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.219, allocations: 25.7 kB / 0.6006 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/0.219, allocations: 80.14 kB / 0.6007 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.2191, allocations: 7.906 kB / 0.6007 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/0.2191, allocations: 0 / 0.6007 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.2192, allocations: 314.8 kB / 0.601 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.812e-05/0.2193, allocations: 19.98 kB / 0.601 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.974e-05/0.2194, allocations: 27.97 kB / 0.601 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.1e-05/0.2195, allocations: 15.98 kB / 0.601 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2195, allocations: 4 kB / 0.601 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002046/0.2197, allocations: 85.66 kB / 0.6011 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2198, allocations: 6.031 kB / 0.6011 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2198, allocations: 0 / 0.6011 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2198, allocations: 0 / 0.6011 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.422e-05/0.2199, allocations: 8.031 kB / 0.6011 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.2199, allocations: 11.92 kB / 0.6011 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.348e-05/0.22, allocations: 11.95 kB / 0.6011 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.22, allocations: 0 / 0.6011 GB, free: 3.609 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 0.000131/0.2201, allocations: 109.8 kB / 0.6012 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.2202, allocations: 3.938 kB / 0.6013 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.2204, allocations: 92.7 kB / 0.6013 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.2204, allocations: 0 / 0.6013 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.2204, allocations: 0 / 0.6013 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2204, allocations: 0 / 0.6013 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.2206, allocations: 161.6 kB / 0.6015 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2206, allocations: 0 / 0.6015 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.443e-05/0.2207, allocations: 16.02 kB / 0.6015 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2207, allocations: 0 / 0.6015 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.2207, allocations: 4 kB / 0.6015 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2207, allocations: 0 / 0.6015 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2208, allocations: 0 / 0.6015 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.221, allocations: 175.5 kB / 0.6017 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.2211, allocations: 81.02 kB / 0.6018 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.2211, allocations: 4 kB / 0.6018 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.2212, allocations: 7.984 kB / 0.6018 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.2213, allocations: 4.125 kB / 0.6018 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/0.2213, allocations: 4 kB / 0.6018 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.116e-05/0.2214, allocations: 87.28 kB / 0.6019 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2214, allocations: 0 / 0.6019 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002501/0.2216, allocations: 24 kB / 0.6019 GB, free: 2.754 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.000765/0.2224, allocations: 0.7163 MB / 0.6026 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002235/0.2226, allocations: 48 kB / 0.6026 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.2226, allocations: 0 / 0.6026 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.348e-05/0.2227, allocations: 23.92 kB / 0.6027 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.2229, allocations: 8 kB / 0.6027 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004479/0.2234, allocations: 149.5 kB / 0.6028 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.2237, allocations: 0.6848 MB / 0.6035 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.459e-05/0.2237, allocations: 3.984 kB / 0.6035 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.2238, allocations: 7.438 kB / 0.6035 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of SimCode: time 7.31e-07/0.2238, allocations: 0 / 0.6035 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3071/0.5309, allocations: 1.228 MB / 0.6047 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/0.5311, allocations: 180.3 kB / 0.6049 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/2.198, allocations: 2.469 kB / 0.6049 GB, free: 40.42 MB / 0.4981 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/linux/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) Environment - environmentSimulation: