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.001104/0.001104, 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.001187/0.001187, 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.401/1.401, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.072/1.072, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003843, allocations: 12 kB / 0.5159 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1713, allocations: 83.42 MB / 0.5974 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1): time 0.0006827/0.172, allocations: 303.1 kB / 0.5977 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004584/0.1725, allocations: 187.5 kB / 0.5978 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.203e-05/0.1725, allocations: 4 kB / 0.5978 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.334e-05/0.1725, allocations: 0 / 0.5978 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.901e-06/0.1725, allocations: 0 / 0.5978 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.1729, allocations: 43.83 kB / 0.5979 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.687e-05/0.1729, allocations: 0 / 0.5979 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.173, allocations: 7.938 kB / 0.5979 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.474e-05/0.173, allocations: 0 / 0.5979 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.424e-05/0.173, allocations: 0 / 0.5979 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.392e-06/0.173, allocations: 0 / 0.5979 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.1732, allocations: 63.92 kB / 0.5979 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.887e-06/0.1732, allocations: 11.94 kB / 0.598 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.1733, allocations: 25.7 kB / 0.598 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.918e-05/0.1734, allocations: 15.97 kB / 0.598 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.1734, allocations: 3.938 kB / 0.598 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1734, allocations: 0 / 0.598 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.1734, allocations: 0 / 0.598 GB, free: 7.133 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.0003112/0.1737, allocations: 311.4 kB / 0.5983 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1738, allocations: 12.03 kB / 0.5983 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.142e-05/0.1738, allocations: 30.56 kB / 0.5983 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.534e-05/0.1738, allocations: 7.984 kB / 0.5983 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.1739, allocations: 167 kB / 0.5985 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.174, allocations: 0 / 0.5985 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.174, allocations: 0 / 0.5985 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.705e-05/0.1741, allocations: 29.7 kB / 0.5985 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.1741, allocations: 0 / 0.5985 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.1741, allocations: 0 / 0.5985 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1741, allocations: 0 / 0.5985 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.029e-05/0.1741, allocations: 3.938 kB / 0.5985 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.1743, allocations: 157.6 kB / 0.5987 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.506e-05/0.1744, allocations: 22.61 kB / 0.5987 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008732/0.1752, allocations: 453.5 kB / 0.5991 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.1753, allocations: 38.56 kB / 0.5992 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1753, allocations: 0 / 0.5992 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001506/0.1754, allocations: 37.64 kB / 0.5992 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.1755, allocations: 51.41 kB / 0.5993 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.955e-05/0.1756, allocations: 89.86 kB / 0.5994 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.1756, allocations: 25.7 kB / 0.5994 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/0.1756, allocations: 80.14 kB / 0.5995 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.1757, allocations: 3.906 kB / 0.5995 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-06/0.1757, allocations: 4 kB / 0.5995 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1758, allocations: 322.9 kB / 0.5998 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.804e-06/0.1759, allocations: 0 / 0.5998 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.348e-06/0.1759, allocations: 0 / 0.5998 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.836e-05/0.1759, allocations: 4 kB / 0.5998 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1759, allocations: 0 / 0.5998 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.178e-05/0.1759, allocations: 37.64 kB / 0.5998 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.176, allocations: 4 kB / 0.5998 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.176, allocations: 3.938 kB / 0.5998 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.176, allocations: 4.031 kB / 0.5998 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.855e-05/0.1761, allocations: 8 kB / 0.5998 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1761, allocations: 0 / 0.5998 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.242e-05/0.1761, allocations: 3.984 kB / 0.5998 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1761, allocations: 0 / 0.5998 GB, free: 4.945 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 0.0001047/0.1762, allocations: 113.8 kB / 0.5999 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-06/0.1762, allocations: 0 / 0.5999 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.4e-05/0.1763, allocations: 36.83 kB / 0.6 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1763, allocations: 0 / 0.6 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1763, allocations: 4.031 kB / 0.6 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1763, allocations: 0 / 0.6 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.1765, allocations: 149.6 kB / 0.6001 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1765, allocations: 3.938 kB / 0.6001 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.165e-05/0.1765, allocations: 4 kB / 0.6001 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.1765, allocations: 0 / 0.6001 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.1765, allocations: 4 kB / 0.6001 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.1765, allocations: 0 / 0.6001 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1765, allocations: 0 / 0.6001 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.076e-05/0.1766, allocations: 65.12 kB / 0.6002 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.1766, allocations: 81.06 kB / 0.6003 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.1766, allocations: 0 / 0.6003 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-06/0.1767, allocations: 0 / 0.6003 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.355e-05/0.1767, allocations: 0 / 0.6003 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.1767, allocations: 4 kB / 0.6003 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.026e-05/0.1767, allocations: 75.28 kB / 0.6003 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1767, allocations: 0 / 0.6003 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002078/0.1769, allocations: 15.98 kB / 0.6004 GB, free: 4.301 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.0004529/0.1774, allocations: 0.6166 MB / 0.601 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.6e-05/0.1775, allocations: 4.031 kB / 0.601 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.1775, allocations: 4 kB / 0.601 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.03e-06/0.1775, allocations: 0 / 0.601 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.769e-05/0.1776, allocations: 3.656 kB / 0.601 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002681/0.1779, allocations: 124.2 kB / 0.6011 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.1781, allocations: 0.677 MB / 0.6018 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.114e-05/0.1781, allocations: 0 / 0.6018 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.426e-05/0.1781, allocations: 11.42 kB / 0.6018 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1781, allocations: 4.125 kB / 0.6018 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01058/0.1887, allocations: 0.9677 MB / 0.6027 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/0.189, allocations: 183.6 kB / 0.6029 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/1.776, allocations: 0 / 0.6029 GB, free: 1.703 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: