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.001935/0.001935, allocations: 102.8 kB / 16.4 MB, free: 6.477 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.001705/0.001705, allocations: 193.2 kB / 17.34 MB, free: 5.754 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.348/2.348, 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.115/1.115, allocations: 115.3 MB / 406.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 68.92 kB / 0.5572 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2267, allocations: 76.18 MB / 0.6316 GB, free: 4.883 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.002978/0.2297, allocations: 0.5688 MB / 0.6322 GB, free: 4.316 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007829/0.2305, allocations: 187.7 kB / 0.6324 GB, free: 4.133 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.164e-05/0.2306, allocations: 0 / 0.6324 GB, free: 4.133 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.424e-05/0.2307, allocations: 3.938 kB / 0.6324 GB, free: 4.129 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 1.053e-05/0.2307, allocations: 4 kB / 0.6324 GB, free: 4.125 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006094/0.2314, allocations: 47.89 kB / 0.6324 GB, free: 4.078 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.137e-05/0.2314, allocations: 3.938 kB / 0.6324 GB, free: 4.074 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.736e-05/0.2315, allocations: 0 / 0.6324 GB, free: 4.074 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.245e-05/0.2315, allocations: 0 / 0.6324 GB, free: 4.074 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.137e-05/0.2316, allocations: 7.984 kB / 0.6324 GB, free: 4.066 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.2316, allocations: 0 / 0.6324 GB, free: 4.066 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.2319, allocations: 55.94 kB / 0.6325 GB, free: 4.012 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.2319, allocations: 0 / 0.6325 GB, free: 4.012 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.428e-05/0.2319, allocations: 0 / 0.6325 GB, free: 4.012 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.2321, allocations: 35.94 kB / 0.6325 GB, free: 3.977 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.309e-05/0.2322, allocations: 8 kB / 0.6325 GB, free: 3.969 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.2322, allocations: 3.938 kB / 0.6325 GB, free: 3.965 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.2322, allocations: 0 / 0.6325 GB, free: 3.965 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.0004819/0.2327, allocations: 319.5 kB / 0.6328 GB, free: 3.602 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/0.2327, allocations: 8.031 kB / 0.6328 GB, free: 3.594 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.383e-05/0.2328, allocations: 34.75 kB / 0.6329 GB, free: 3.551 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.2329, allocations: 4.922 kB / 0.6329 GB, free: 3.547 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.233, allocations: 160.4 kB / 0.633 GB, free: 3.352 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.233, allocations: 384 / 0.633 GB, free: 3.352 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.2331, allocations: 4.375 kB / 0.633 GB, free: 3.348 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.2332, allocations: 30.27 kB / 0.6331 GB, free: 3.312 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.2332, allocations: 3.938 kB / 0.6331 GB, free: 3.309 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.2333, allocations: 0 / 0.6331 GB, free: 3.309 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2333, allocations: 0 / 0.6331 GB, free: 3.309 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.287e-05/0.2333, allocations: 3.938 kB / 0.6331 GB, free: 3.305 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002313/0.2336, allocations: 149.7 kB / 0.6332 GB, free: 3.109 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.509e-05/0.2336, allocations: 22.55 kB / 0.6332 GB, free: 3.078 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.776e-05/0.2337, allocations: 8.859 kB / 0.6332 GB, free: 3.066 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/0.2348, allocations: 453.5 kB / 0.6337 GB, free: 2.531 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.2348, allocations: 34.55 kB / 0.6337 GB, free: 2.488 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 2.264e-06/0.2349, allocations: 0 / 0.6337 GB, free: 2.488 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001997/0.2351, allocations: 41.58 kB / 0.6338 GB, free: 2.441 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.2351, allocations: 51.41 kB / 0.6338 GB, free: 2.379 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.082e-05/0.2352, allocations: 89.86 kB / 0.6339 GB, free: 2.281 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.2352, allocations: 29.7 kB / 0.6339 GB, free: 2.246 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.2353, allocations: 84.14 kB / 0.634 GB, free: 2.16 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.2353, allocations: 3.906 kB / 0.634 GB, free: 2.156 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.052e-05/0.2354, allocations: 9.719 kB / 0.634 GB, free: 2.141 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.2355, allocations: 310.8 kB / 0.6343 GB, free: 1.828 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.859e-05/0.2356, allocations: 12.11 kB / 0.6343 GB, free: 1.816 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.212e-05/0.2356, allocations: 0 / 0.6343 GB, free: 1.816 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.203e-05/0.2356, allocations: 8.859 kB / 0.6343 GB, free: 1.805 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2357, allocations: 0 / 0.6343 GB, free: 1.805 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.498e-05/0.2358, allocations: 37.64 kB / 0.6344 GB, free: 1.762 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.2358, allocations: 4 kB / 0.6344 GB, free: 1.758 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.2358, allocations: 3.938 kB / 0.6344 GB, free: 1.754 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.2358, allocations: 4 kB / 0.6344 GB, free: 1.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.865e-05/0.2359, allocations: 8.094 kB / 0.6344 GB, free: 1.742 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.2359, allocations: 3.938 kB / 0.6344 GB, free: 1.738 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.806e-05/0.236, allocations: 0 / 0.6344 GB, free: 1.738 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.236, allocations: 0 / 0.6344 GB, free: 1.738 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.0001202/0.2361, allocations: 113.8 kB / 0.6345 GB, free: 1.617 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.2361, allocations: 0 / 0.6345 GB, free: 1.617 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.2362, allocations: 40.77 kB / 0.6345 GB, free: 1.57 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.2363, allocations: 7.922 kB / 0.6345 GB, free: 1.562 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2363, allocations: 0 / 0.6345 GB, free: 1.562 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2363, allocations: 4.031 kB / 0.6345 GB, free: 1.559 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.2364, allocations: 145.7 kB / 0.6347 GB, free: 1.367 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.2364, allocations: 4 kB / 0.6347 GB, free: 1.363 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.949e-05/0.2365, allocations: 0 / 0.6347 GB, free: 1.363 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2365, allocations: 0 / 0.6347 GB, free: 1.363 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.2365, allocations: 3.938 kB / 0.6347 GB, free: 1.359 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2365, allocations: 0 / 0.6347 GB, free: 1.359 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2365, allocations: 0 / 0.6347 GB, free: 1.359 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.2366, allocations: 65.12 kB / 0.6347 GB, free: 1.277 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.993e-05/0.2367, allocations: 77.11 kB / 0.6348 GB, free: 1.184 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.2367, allocations: 3.938 kB / 0.6348 GB, free: 1.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.228e-05/0.2367, allocations: 0 / 0.6348 GB, free: 1.18 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.2368, allocations: 3.938 kB / 0.6348 GB, free: 1.176 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.2368, allocations: 4 kB / 0.6348 GB, free: 1.172 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.596e-05/0.2368, allocations: 75.28 kB / 0.6349 GB, free: 1.098 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.595e-06/0.2369, allocations: 0 / 0.6349 GB, free: 1.098 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000404/0.2373, allocations: 15.94 kB / 0.6349 GB, free: 1.082 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.0006833/0.238, allocations: 0.6152 MB / 0.6355 GB, free: 448 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.2381, allocations: 8.031 kB / 0.6355 GB, free: 440 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2381, allocations: 0 / 0.6355 GB, free: 440 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.796e-05/0.2381, allocations: 7.938 kB / 0.6355 GB, free: 432 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.2384, allocations: 0 / 0.6355 GB, free: 432 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004968/0.2389, allocations: 118.7 kB / 0.6357 GB, free: 272 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.2392, allocations: 0.6729 MB / 0.6363 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.756e-05/0.2393, allocations: 0 / 0.6363 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.2393, allocations: 7.438 kB / 0.6363 GB, free: 15.56 MB / 494.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2393, allocations: 3.938 kB / 0.6363 GB, free: 15.55 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.2664, allocations: 1.153 MB / 0.6374 GB, free: 14.48 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.44, allocations: 9.578 kB / 0.6375 GB, free: 14.48 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)