Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_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.001175/0.001175, allocations: 106.3 kB / 16.4 MB, free: 6.492 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.001182/0.001182, allocations: 197.2 kB / 17.34 MB, free: 5.762 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7027/0.7027, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 69.42 kB / 0.5572 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1578, allocations: 76.19 MB / 0.6316 GB, free: 4.867 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.002075/0.16, allocations: 0.561 MB / 0.6322 GB, free: 4.309 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005482/0.1605, allocations: 199.7 kB / 0.6324 GB, free: 4.113 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.296e-05/0.1606, allocations: 0 / 0.6324 GB, free: 4.113 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.749e-05/0.1606, allocations: 0 / 0.6324 GB, free: 4.113 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.695e-06/0.1607, allocations: 0 / 0.6324 GB, free: 4.113 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.1611, allocations: 43.84 kB / 0.6324 GB, free: 4.07 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 3.928e-05/0.1611, allocations: 4 kB / 0.6324 GB, free: 4.066 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/0.1612, allocations: 3.984 kB / 0.6324 GB, free: 4.062 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.709e-05/0.1612, allocations: 3.984 kB / 0.6324 GB, free: 4.059 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.068e-05/0.1612, allocations: 0 / 0.6324 GB, free: 4.059 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.892e-06/0.1612, allocations: 0 / 0.6324 GB, free: 4.059 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.1614, allocations: 63.89 kB / 0.6325 GB, free: 3.996 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.1614, allocations: 0 / 0.6325 GB, free: 3.996 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.893e-05/0.1615, allocations: 0 / 0.6325 GB, free: 3.996 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.1616, allocations: 35.94 kB / 0.6325 GB, free: 3.961 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1616, allocations: 0 / 0.6325 GB, free: 3.961 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.048e-06/0.1616, allocations: 0 / 0.6325 GB, free: 3.961 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1616, allocations: 3.938 kB / 0.6325 GB, free: 3.957 MB / 478.1 MB 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.0003498/0.162, allocations: 323.6 kB / 0.6328 GB, free: 3.59 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.162, allocations: 8.031 kB / 0.6328 GB, free: 3.582 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.584e-05/0.1621, allocations: 30.75 kB / 0.6329 GB, free: 3.543 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.553e-05/0.1621, allocations: 4.938 kB / 0.6329 GB, free: 3.539 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.1622, allocations: 160.4 kB / 0.633 GB, free: 3.344 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.1622, allocations: 8.359 kB / 0.633 GB, free: 3.336 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.1623, allocations: 384 / 0.633 GB, free: 3.336 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.1624, allocations: 30.2 kB / 0.6331 GB, free: 3.301 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1624, allocations: 3.938 kB / 0.6331 GB, free: 3.297 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-06/0.1624, allocations: 3.984 kB / 0.6331 GB, free: 3.293 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1624, allocations: 0 / 0.6331 GB, free: 3.293 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.906e-05/0.1624, allocations: 4 kB / 0.6331 GB, free: 3.289 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.1626, allocations: 149.7 kB / 0.6332 GB, free: 3.094 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.608e-05/0.1626, allocations: 22.55 kB / 0.6332 GB, free: 3.062 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/0.1626, allocations: 4.859 kB / 0.6332 GB, free: 3.055 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007806/0.1634, allocations: 453.5 kB / 0.6337 GB, free: 2.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.1635, allocations: 42.56 kB / 0.6337 GB, free: 2.469 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.1635, allocations: 0 / 0.6337 GB, free: 2.469 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001903/0.1637, allocations: 33.64 kB / 0.6337 GB, free: 2.43 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.1637, allocations: 51.41 kB / 0.6338 GB, free: 2.367 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.197e-05/0.1638, allocations: 89.86 kB / 0.6339 GB, free: 2.27 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.1638, allocations: 25.7 kB / 0.6339 GB, free: 2.238 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.525e-05/0.1639, allocations: 80.14 kB / 0.634 GB, free: 2.156 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.1639, allocations: 8.016 kB / 0.634 GB, free: 2.148 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.164, allocations: 21.72 kB / 0.634 GB, free: 2.121 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1641, allocations: 310.8 kB / 0.6343 GB, free: 1.809 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.282e-05/0.1642, allocations: 0 / 0.6343 GB, free: 1.809 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.439e-05/0.1642, allocations: 11.94 kB / 0.6343 GB, free: 1.797 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.169e-05/0.1642, allocations: 4.859 kB / 0.6343 GB, free: 1.789 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1642, allocations: 0 / 0.6343 GB, free: 1.789 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.432e-05/0.1643, allocations: 33.7 kB / 0.6344 GB, free: 1.75 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1643, allocations: 10.12 kB / 0.6344 GB, free: 1.742 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.1643, allocations: 7.922 kB / 0.6344 GB, free: 1.734 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.1644, allocations: 0 / 0.6344 GB, free: 1.734 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.055e-05/0.1644, allocations: 7.938 kB / 0.6344 GB, free: 1.727 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.1644, allocations: 0 / 0.6344 GB, free: 1.727 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.255e-05/0.1645, allocations: 0 / 0.6344 GB, free: 1.727 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1645, allocations: 0 / 0.6344 GB, free: 1.727 MB / 478.1 MB 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 9.95e-05/0.1646, allocations: 109.8 kB / 0.6345 GB, free: 1.609 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.1646, allocations: 0 / 0.6345 GB, free: 1.609 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.1647, allocations: 48.69 kB / 0.6345 GB, free: 1.555 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1647, allocations: 4 kB / 0.6345 GB, free: 1.551 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1647, allocations: 0 / 0.6345 GB, free: 1.551 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1647, allocations: 0 / 0.6345 GB, free: 1.551 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.1649, allocations: 145.7 kB / 0.6347 GB, free: 1.359 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1649, allocations: 0 / 0.6347 GB, free: 1.359 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.726e-05/0.1649, allocations: 4 kB / 0.6347 GB, free: 1.355 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1649, allocations: 0 / 0.6347 GB, free: 1.355 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.1649, allocations: 3.938 kB / 0.6347 GB, free: 1.352 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.631e-05/0.1649, allocations: 3.984 kB / 0.6347 GB, free: 1.348 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1649, allocations: 4.031 kB / 0.6347 GB, free: 1.344 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.231e-05/0.165, allocations: 53.08 kB / 0.6347 GB, free: 1.273 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.028e-05/0.1651, allocations: 81.11 kB / 0.6348 GB, free: 1.176 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.1651, allocations: 3.938 kB / 0.6348 GB, free: 1.172 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-06/0.1651, allocations: 0 / 0.6348 GB, free: 1.172 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.1651, allocations: 7.922 kB / 0.6348 GB, free: 1.164 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1651, allocations: 4 kB / 0.6348 GB, free: 1.16 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.798e-05/0.1652, allocations: 79.31 kB / 0.6349 GB, free: 1.082 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1652, allocations: 0 / 0.6349 GB, free: 1.082 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002435/0.1654, allocations: 16 kB / 0.6349 GB, free: 1.066 MB / 478.1 MB 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.0004804/0.1659, allocations: 0.6113 MB / 0.6355 GB, free: 436 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 7.441e-05/0.166, allocations: 7.938 kB / 0.6355 GB, free: 428 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.166, allocations: 0 / 0.6355 GB, free: 428 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 7.374e-06/0.166, allocations: 4 kB / 0.6355 GB, free: 424 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.1662, allocations: 3.984 kB / 0.6355 GB, free: 420 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/0.1665, allocations: 117.1 kB / 0.6356 GB, free: 264 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.1668, allocations: 0.673 MB / 0.6363 GB, free: 15.56 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.491e-05/0.1668, allocations: 4 kB / 0.6363 GB, free: 15.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.671e-05/0.1668, allocations: 19.36 kB / 0.6363 GB, free: 15.54 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1668, allocations: 0 / 0.6363 GB, free: 15.54 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.1858, allocations: 1.14 MB / 0.6374 GB, free: 14.47 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.486/7.672, allocations: 3.047 kB / 0.6374 GB, free: 14.47 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)