Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/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.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_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.001474/0.001474, allocations: 104.6 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.001918/0.001918, allocations: 193.2 kB / 17.34 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.174/2.174, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.158/1.158, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002666/0.002666, allocations: 74.7 kB / 0.5572 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2607, allocations: 76.18 MB / 0.6316 GB, free: 4.848 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ1): time 0.003134/0.2639, allocations: 0.561 MB / 0.6322 GB, free: 4.289 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008523/0.2648, allocations: 203.6 kB / 0.6324 GB, free: 4.09 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.521e-05/0.2648, allocations: 0 / 0.6324 GB, free: 4.09 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.949e-05/0.2649, allocations: 0 / 0.6324 GB, free: 4.09 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 8.907e-06/0.265, allocations: 0 / 0.6324 GB, free: 4.09 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006621/0.2656, allocations: 59.81 kB / 0.6324 GB, free: 4.031 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.449e-05/0.2657, allocations: 0 / 0.6324 GB, free: 4.031 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.561e-05/0.2658, allocations: 0 / 0.6324 GB, free: 4.031 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.016e-05/0.2658, allocations: 0 / 0.6324 GB, free: 4.031 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.933e-05/0.2659, allocations: 4 kB / 0.6324 GB, free: 4.027 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.2659, allocations: 4 kB / 0.6324 GB, free: 4.023 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002808/0.2662, allocations: 59.88 kB / 0.6325 GB, free: 3.965 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.2662, allocations: 3.984 kB / 0.6325 GB, free: 3.961 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.2663, allocations: 0 / 0.6325 GB, free: 3.961 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.2665, allocations: 31.95 kB / 0.6325 GB, free: 3.93 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.2665, allocations: 0 / 0.6325 GB, free: 3.93 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.2665, allocations: 3.938 kB / 0.6325 GB, free: 3.926 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.2665, allocations: 0 / 0.6325 GB, free: 3.926 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.0004943/0.267, allocations: 319.6 kB / 0.6328 GB, free: 3.562 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.17e-05/0.2671, allocations: 16.03 kB / 0.6329 GB, free: 3.547 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.397e-05/0.2672, allocations: 30.75 kB / 0.6329 GB, free: 3.508 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.2672, allocations: 4.938 kB / 0.6329 GB, free: 3.504 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.2674, allocations: 160.4 kB / 0.633 GB, free: 3.309 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.2674, allocations: 384 / 0.633 GB, free: 3.309 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.2675, allocations: 384 / 0.633 GB, free: 3.309 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.2676, allocations: 38.19 kB / 0.6331 GB, free: 3.266 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.2676, allocations: 3.938 kB / 0.6331 GB, free: 3.262 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.2677, allocations: 0 / 0.6331 GB, free: 3.262 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2677, allocations: 4 kB / 0.6331 GB, free: 3.258 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.082e-05/0.2677, allocations: 0 / 0.6331 GB, free: 3.258 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002374/0.268, allocations: 153.7 kB / 0.6332 GB, free: 3.059 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.26e-05/0.2681, allocations: 14.58 kB / 0.6333 GB, free: 3.035 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/0.2681, allocations: 4.859 kB / 0.6333 GB, free: 3.027 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001289/0.2694, allocations: 469.5 kB / 0.6337 GB, free: 2.477 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.2695, allocations: 30.56 kB / 0.6337 GB, free: 2.438 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 2.384e-06/0.2695, allocations: 0 / 0.6337 GB, free: 2.438 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002348/0.2697, allocations: 37.62 kB / 0.6338 GB, free: 2.395 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.2698, allocations: 51.41 kB / 0.6338 GB, free: 2.332 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.996e-05/0.2699, allocations: 89.86 kB / 0.6339 GB, free: 2.234 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.2699, allocations: 29.83 kB / 0.6339 GB, free: 2.199 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.27, allocations: 88.08 kB / 0.634 GB, free: 2.109 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.27, allocations: 7.906 kB / 0.634 GB, free: 2.102 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/0.2701, allocations: 9.719 kB / 0.634 GB, free: 2.086 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.2703, allocations: 310.8 kB / 0.6343 GB, free: 1.773 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.201e-05/0.2703, allocations: 4 kB / 0.6343 GB, free: 1.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.284e-05/0.2704, allocations: 3.938 kB / 0.6343 GB, free: 1.766 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.709e-05/0.2704, allocations: 12.92 kB / 0.6343 GB, free: 1.75 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2704, allocations: 0 / 0.6343 GB, free: 1.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001054/0.2705, allocations: 37.69 kB / 0.6344 GB, free: 1.707 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.2706, allocations: 4 kB / 0.6344 GB, free: 1.703 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.2706, allocations: 3.938 kB / 0.6344 GB, free: 1.699 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.2706, allocations: 3.938 kB / 0.6344 GB, free: 1.695 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.137e-05/0.2707, allocations: 4 kB / 0.6344 GB, free: 1.691 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.2707, allocations: 0 / 0.6344 GB, free: 1.691 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.2708, allocations: 0 / 0.6344 GB, free: 1.691 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.2708, allocations: 0 / 0.6344 GB, free: 1.691 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 0.0001147/0.2709, allocations: 117.8 kB / 0.6345 GB, free: 1.566 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.2709, allocations: 0 / 0.6345 GB, free: 1.566 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.2711, allocations: 40.75 kB / 0.6346 GB, free: 1.52 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.2711, allocations: 0 / 0.6346 GB, free: 1.52 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.2711, allocations: 3.984 kB / 0.6346 GB, free: 1.516 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2711, allocations: 0 / 0.6346 GB, free: 1.516 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.2713, allocations: 149.7 kB / 0.6347 GB, free: 1.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.2713, allocations: 0 / 0.6347 GB, free: 1.32 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.632e-05/0.2714, allocations: 4 kB / 0.6347 GB, free: 1.316 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2714, allocations: 4.031 kB / 0.6347 GB, free: 1.312 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.2714, allocations: 3.938 kB / 0.6347 GB, free: 1.309 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.2714, allocations: 4 kB / 0.6347 GB, free: 1.305 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2714, allocations: 0 / 0.6347 GB, free: 1.305 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.2716, allocations: 65.06 kB / 0.6348 GB, free: 1.223 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.2716, allocations: 77.11 kB / 0.6348 GB, free: 1.129 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.2717, allocations: 3.938 kB / 0.6349 GB, free: 1.125 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.483e-05/0.2717, allocations: 0 / 0.6349 GB, free: 1.125 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.2717, allocations: 4.031 kB / 0.6349 GB, free: 1.121 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.2717, allocations: 4 kB / 0.6349 GB, free: 1.117 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.247e-05/0.2718, allocations: 75.28 kB / 0.6349 GB, free: 1.043 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.2718, allocations: 0 / 0.6349 GB, free: 1.043 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004051/0.2722, allocations: 12 kB / 0.6349 GB, free: 1.031 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.0007594/0.273, allocations: 0.619 MB / 0.6355 GB, free: 392 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.2731, allocations: 8 kB / 0.6356 GB, free: 384 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2732, allocations: 3.938 kB / 0.6356 GB, free: 380 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 2.167e-05/0.2732, allocations: 4 kB / 0.6356 GB, free: 376 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.2735, allocations: 128 / 0.6356 GB, free: 376 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005969/0.2741, allocations: 122.7 kB / 0.6357 GB, free: 212 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.2746, allocations: 0.6729 MB / 0.6363 GB, free: 15.51 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.35e-05/0.2746, allocations: 3.938 kB / 0.6363 GB, free: 15.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.2747, allocations: 7.438 kB / 0.6363 GB, free: 15.5 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2747, allocations: 0 / 0.6363 GB, free: 15.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.3062, allocations: 1.144 MB / 0.6375 GB, free: 14.43 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.8, allocations: 7.391 kB / 0.6375 GB, free: 14.43 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)