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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001036/0.001036, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00118/0.001181, allocations: 197.8 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9872/0.9872, allocations: 143.1 MB / 433 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.91 kB / 0.5136 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1713, allocations: 82.04 MB / 0.5937 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.001669/0.173, allocations: 0.6526 MB / 0.5944 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004712/0.1735, allocations: 195.4 kB / 0.5946 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.037e-05/0.1735, allocations: 0 / 0.5946 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.1735, allocations: 0 / 0.5946 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.689e-06/0.1735, allocations: 4 kB / 0.5946 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.1738, allocations: 39.91 kB / 0.5946 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 2.953e-05/0.1739, allocations: 0 / 0.5946 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.1739, allocations: 3.984 kB / 0.5946 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.429e-05/0.1739, allocations: 7.984 kB / 0.5946 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.824e-05/0.1739, allocations: 0 / 0.5946 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.883e-06/0.174, allocations: 0 / 0.5946 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.1741, allocations: 59.89 kB / 0.5947 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.673e-06/0.1741, allocations: 0 / 0.5947 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.673e-05/0.1742, allocations: 0 / 0.5947 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.1743, allocations: 47.81 kB / 0.5947 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1743, allocations: 8 kB / 0.5947 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.71e-07/0.1743, allocations: 0 / 0.5947 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.1743, allocations: 0 / 0.5947 GB, free: 8.957 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.0002739/0.1746, allocations: 315.6 kB / 0.595 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1746, allocations: 8.031 kB / 0.595 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.1747, allocations: 34.75 kB / 0.5951 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.05e-05/0.1747, allocations: 0.9375 kB / 0.5951 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.95e-05/0.1748, allocations: 160.4 kB / 0.5952 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.1748, allocations: 384 / 0.5952 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.261e-06/0.1748, allocations: 4.375 kB / 0.5952 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.983e-05/0.1749, allocations: 34.25 kB / 0.5953 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.1749, allocations: 7.938 kB / 0.5953 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-06/0.1749, allocations: 0 / 0.5953 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1749, allocations: 0 / 0.5953 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.57e-05/0.1749, allocations: 3.938 kB / 0.5953 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001179/0.1751, allocations: 141.7 kB / 0.5954 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.414e-05/0.1751, allocations: 18.61 kB / 0.5954 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.204e-05/0.1751, allocations: 8.859 kB / 0.5954 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006436/0.1758, allocations: 457.5 kB / 0.5959 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.1758, allocations: 30.56 kB / 0.5959 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1758, allocations: 0 / 0.5959 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001141/0.1759, allocations: 45.58 kB / 0.5959 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.176, allocations: 55.39 kB / 0.596 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.669e-05/0.176, allocations: 89.86 kB / 0.5961 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.176, allocations: 29.64 kB / 0.5961 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.206e-05/0.1761, allocations: 84.14 kB / 0.5962 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.1761, allocations: 3.906 kB / 0.5962 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.1761, allocations: 9.719 kB / 0.5962 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.282e-05/0.1762, allocations: 311 kB / 0.5965 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.004e-05/0.1762, allocations: 8 kB / 0.5965 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-06/0.1762, allocations: 4 kB / 0.5965 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.139e-05/0.1763, allocations: 16.8 kB / 0.5965 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1763, allocations: 0 / 0.5965 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.456e-05/0.1763, allocations: 37.62 kB / 0.5966 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1763, allocations: 4 kB / 0.5966 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1764, allocations: 3.938 kB / 0.5966 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1764, allocations: 0 / 0.5966 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.62e-05/0.1764, allocations: 8.094 kB / 0.5966 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1764, allocations: 0 / 0.5966 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.436e-06/0.1764, allocations: 0 / 0.5966 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.1764, allocations: 0 / 0.5966 GB, free: 6.734 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.549e-05/0.1765, allocations: 109.8 kB / 0.5967 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-06/0.1765, allocations: 0 / 0.5967 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.031e-05/0.1766, allocations: 52.67 kB / 0.5967 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1766, allocations: 0 / 0.5967 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1766, allocations: 4.031 kB / 0.5967 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.1766, allocations: 0 / 0.5967 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.066e-05/0.1767, allocations: 141.7 kB / 0.5969 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1767, allocations: 3.984 kB / 0.5969 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.185e-05/0.1767, allocations: 4 kB / 0.5969 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.1767, allocations: 0 / 0.5969 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.1767, allocations: 3.938 kB / 0.5969 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1767, allocations: 0 / 0.5969 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1767, allocations: 0 / 0.5969 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.29e-05/0.1768, allocations: 61.14 kB / 0.5969 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.957e-05/0.1768, allocations: 81.09 kB / 0.597 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.1769, allocations: 3.938 kB / 0.597 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-06/0.1769, allocations: 0 / 0.597 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/0.1769, allocations: 3.938 kB / 0.597 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.1769, allocations: 4 kB / 0.597 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.194e-05/0.1769, allocations: 75.28 kB / 0.5971 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1769, allocations: 0 / 0.5971 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001844/0.1771, allocations: 12 kB / 0.5971 GB, free: 6.086 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003962/0.1775, allocations: 0.6089 MB / 0.5977 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.236e-05/0.1776, allocations: 15.95 kB / 0.5977 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.1776, allocations: 0 / 0.5977 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.037e-05/0.1776, allocations: 15.88 kB / 0.5977 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001191/0.1777, allocations: 0 / 0.5977 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002625/0.178, allocations: 108.4 kB / 0.5978 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.1782, allocations: 0.677 MB / 0.5985 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.148e-05/0.1782, allocations: 0 / 0.5985 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.343e-05/0.1783, allocations: 7.438 kB / 0.5985 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1783, allocations: 128 / 0.5985 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009765/0.188, allocations: 1.03 MB / 0.5995 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/0.1882, allocations: 212 kB / 0.5997 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/1.733, allocations: 0 / 0.5997 GB, free: 3.375 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/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)