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.001021/0.001024, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0008428/0.0008428, allocations: 192.5 kB / 16.25 MB, free: 6.629 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.098/1.098, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.8031/0.8031, allocations: 143.1 MB / 433.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 63.91 kB / 0.5138 GB, free: 11.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1159, allocations: 82.04 MB / 0.5939 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.001341/0.1172, allocations: 0.6415 MB / 0.5945 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003408/0.1176, allocations: 187.4 kB / 0.5947 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.705e-06/0.1176, allocations: 0 / 0.5947 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.321e-05/0.1176, allocations: 0 / 0.5947 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.218e-06/0.1176, allocations: 4 kB / 0.5947 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.1179, allocations: 43.91 kB / 0.5948 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 2.672e-05/0.1179, allocations: 4 kB / 0.5948 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.133e-05/0.118, allocations: 4 kB / 0.5948 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.159e-05/0.118, allocations: 3.984 kB / 0.5948 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.385e-05/0.118, allocations: 0 / 0.5948 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.099e-06/0.118, allocations: 0 / 0.5948 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.1182, allocations: 63.88 kB / 0.5948 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.47e-06/0.1182, allocations: 0 / 0.5948 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.186e-05/0.1182, allocations: 0 / 0.5948 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.555e-05/0.1183, allocations: 47.81 kB / 0.5949 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1183, allocations: 4 kB / 0.5949 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1183, allocations: 0 / 0.5949 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.1183, allocations: 0 / 0.5949 GB, free: 8.816 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.0002115/0.1185, allocations: 322.7 kB / 0.5952 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.1185, allocations: 15.97 kB / 0.5952 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.764e-05/0.1186, allocations: 30.75 kB / 0.5952 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.537e-05/0.1186, allocations: 0.9375 kB / 0.5952 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.039e-05/0.1187, allocations: 160.4 kB / 0.5954 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.1187, allocations: 384 / 0.5954 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.548e-06/0.1187, allocations: 384 / 0.5954 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.597e-05/0.1188, allocations: 38.25 kB / 0.5954 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.1188, allocations: 3.938 kB / 0.5954 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-06/0.1188, allocations: 0 / 0.5954 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1188, allocations: 0 / 0.5954 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.348e-05/0.1188, allocations: 3.938 kB / 0.5954 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.292e-05/0.1189, allocations: 149.7 kB / 0.5956 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.796e-05/0.1189, allocations: 14.58 kB / 0.5956 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.159e-05/0.1189, allocations: 8.859 kB / 0.5956 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005482/0.1195, allocations: 457.5 kB / 0.596 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.1195, allocations: 30.56 kB / 0.5961 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1195, allocations: 0 / 0.5961 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 9.311e-05/0.1196, allocations: 45.56 kB / 0.5961 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.1197, allocations: 55.39 kB / 0.5962 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.448e-05/0.1197, allocations: 93.86 kB / 0.5963 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.794e-06/0.1197, allocations: 25.7 kB / 0.5963 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.814e-05/0.1197, allocations: 84.14 kB / 0.5964 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.1197, allocations: 3.906 kB / 0.5964 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/0.1198, allocations: 9.719 kB / 0.5964 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.131e-05/0.1198, allocations: 314.8 kB / 0.5967 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.442e-06/0.1199, allocations: 4.125 kB / 0.5967 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-06/0.1199, allocations: 0 / 0.5967 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.04e-05/0.1199, allocations: 16.8 kB / 0.5967 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1199, allocations: 0 / 0.5967 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.88e-05/0.1199, allocations: 37.69 kB / 0.5967 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/0.12, allocations: 4 kB / 0.5967 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.12, allocations: 3.938 kB / 0.5967 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.12, allocations: 4 kB / 0.5967 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.663e-05/0.12, allocations: 96 / 0.5967 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.12, allocations: 4 kB / 0.5967 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.177e-06/0.12, allocations: 0 / 0.5967 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-06/0.12, allocations: 3.938 kB / 0.5967 GB, free: 6.586 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 4.662e-05/0.1201, allocations: 113.8 kB / 0.5969 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-06/0.1201, allocations: 0 / 0.5969 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.505e-05/0.1202, allocations: 44.69 kB / 0.5969 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.1202, allocations: 0 / 0.5969 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1202, allocations: 0 / 0.5969 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-06/0.1202, allocations: 4.031 kB / 0.5969 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.234e-05/0.1202, allocations: 145.7 kB / 0.597 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.1203, allocations: 4 kB / 0.597 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.04e-05/0.1203, allocations: 3.984 kB / 0.597 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.1203, allocations: 0 / 0.597 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.1203, allocations: 3.938 kB / 0.5971 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.1203, allocations: 0 / 0.5971 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.1203, allocations: 0 / 0.5971 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.637e-05/0.1203, allocations: 61.14 kB / 0.5971 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.522e-05/0.1204, allocations: 77.11 kB / 0.5972 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.218e-06/0.1204, allocations: 11.86 kB / 0.5972 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.831e-06/0.1204, allocations: 0 / 0.5972 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.265e-06/0.1204, allocations: 4 kB / 0.5972 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.1204, allocations: 0 / 0.5972 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.863e-05/0.1204, allocations: 79.31 kB / 0.5973 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1204, allocations: 0 / 0.5973 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001675/0.1206, allocations: 12 kB / 0.5973 GB, free: 5.934 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.0003081/0.1209, allocations: 0.6127 MB / 0.5979 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.138e-05/0.121, allocations: 15.95 kB / 0.5979 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.121, allocations: 0 / 0.5979 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.91e-06/0.121, allocations: 0 / 0.5979 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001057/0.1211, allocations: 0 / 0.5979 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002009/0.1213, allocations: 114.6 kB / 0.598 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.1215, allocations: 0.6729 MB / 0.5987 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.007e-06/0.1215, allocations: 3.984 kB / 0.5987 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.182e-05/0.1215, allocations: 11.38 kB / 0.5987 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1215, allocations: 0 / 0.5987 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8518/0.9733, allocations: 1.053 MB / 0.5997 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003026/0.9737, allocations: 230.2 kB / 0.5999 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/3.206, allocations: 0 / 0.5999 GB, free: 3.203 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)