Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.001971/0.001971, allocations: 102.8 kB / 16.4 MB, free: 6.488 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.001994/0.001994, allocations: 199.8 kB / 17.34 MB, free: 5.766 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.341/2.341, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8525/0.8525, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 68.78 kB / 0.5572 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1636, allocations: 76.16 MB / 0.6316 GB, free: 4.93 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ0): time 0.002453/0.1661, allocations: 1.432 MB / 0.633 GB, free: 3.484 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005159/0.1667, allocations: 240.1 kB / 0.6332 GB, free: 3.246 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.935e-05/0.1667, allocations: 0 / 0.6332 GB, free: 3.246 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.9e-05/0.1667, allocations: 0 / 0.6332 GB, free: 3.246 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.042e-05/0.1668, allocations: 7.938 kB / 0.6332 GB, free: 3.238 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.1671, allocations: 55.83 kB / 0.6333 GB, free: 3.184 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.628e-05/0.1672, allocations: 23.92 kB / 0.6333 GB, free: 3.16 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.804e-05/0.1673, allocations: 11.98 kB / 0.6333 GB, free: 3.148 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.649e-05/0.1674, allocations: 15.92 kB / 0.6333 GB, free: 3.133 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.128e-05/0.1674, allocations: 7.984 kB / 0.6333 GB, free: 3.125 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.1675, allocations: 0 / 0.6333 GB, free: 3.125 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.1676, allocations: 55.95 kB / 0.6334 GB, free: 3.07 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.1676, allocations: 7.938 kB / 0.6334 GB, free: 3.062 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/0.1677, allocations: 7.984 kB / 0.6334 GB, free: 3.055 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.1679, allocations: 59.8 kB / 0.6335 GB, free: 2.996 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1679, allocations: 0 / 0.6335 GB, free: 2.996 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1679, allocations: 0 / 0.6335 GB, free: 2.996 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.453e-06/0.1679, allocations: 4 kB / 0.6335 GB, free: 2.992 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005446/0.1684, allocations: 346.3 kB / 0.6338 GB, free: 2.605 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1685, allocations: 8.031 kB / 0.6338 GB, free: 2.598 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.1685, allocations: 34.75 kB / 0.6338 GB, free: 2.555 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.582e-05/0.1686, allocations: 0.9375 kB / 0.6338 GB, free: 2.555 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.1687, allocations: 164.4 kB / 0.634 GB, free: 2.355 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1687, allocations: 4.375 kB / 0.634 GB, free: 2.352 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.1688, allocations: 4.312 kB / 0.634 GB, free: 2.348 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.1689, allocations: 58.22 kB / 0.6341 GB, free: 2.285 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.169, allocations: 3.938 kB / 0.6341 GB, free: 2.281 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.169, allocations: 0 / 0.6341 GB, free: 2.281 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.169, allocations: 3.938 kB / 0.6341 GB, free: 2.277 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.1692, allocations: 31.97 kB / 0.6341 GB, free: 2.246 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.1695, allocations: 252.9 kB / 0.6343 GB, free: 1.949 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.1697, allocations: 42.5 kB / 0.6344 GB, free: 1.898 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.535e-05/0.1698, allocations: 16.91 kB / 0.6344 GB, free: 1.879 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000683/0.1705, allocations: 465.4 kB / 0.6348 GB, free: 1.332 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.1705, allocations: 34.5 kB / 0.6349 GB, free: 1.289 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.1705, allocations: 0 / 0.6349 GB, free: 1.289 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003532/0.1709, allocations: 81.64 kB / 0.6349 GB, free: 1.203 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.1709, allocations: 51.41 kB / 0.635 GB, free: 1.141 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.459e-05/0.171, allocations: 93.98 kB / 0.6351 GB, free: 1.039 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.171, allocations: 29.7 kB / 0.6351 GB, free: 1.004 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.171, allocations: 92.12 kB / 0.6352 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.1711, allocations: 4.75 kB / 0.6352 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.1711, allocations: 9.719 kB / 0.6352 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.722e-05/0.1712, allocations: 318.8 kB / 0.6355 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.803e-05/0.1713, allocations: 11.98 kB / 0.6355 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.43e-05/0.1714, allocations: 27.91 kB / 0.6356 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.1715, allocations: 40.83 kB / 0.6356 GB, free: 500 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.1715, allocations: 3.938 kB / 0.6356 GB, free: 496 kB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001834/0.1717, allocations: 65.66 kB / 0.6357 GB, free: 424 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1717, allocations: 4 kB / 0.6357 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.1717, allocations: 0 / 0.6357 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1718, allocations: 4.094 kB / 0.6357 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.105e-05/0.1719, allocations: 11.98 kB / 0.6357 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1719, allocations: 0 / 0.6357 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.452e-05/0.1719, allocations: 7.938 kB / 0.6357 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.1719, allocations: 0 / 0.6357 GB, free: 396 kB / 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 (2): * Single equations (assignments): 2 * 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 7.258e-05/0.172, allocations: 117.8 kB / 0.6358 GB, free: 268 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.172, allocations: 7.938 kB / 0.6358 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.1723, allocations: 68.78 kB / 0.6359 GB, free: 184 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1723, allocations: 0 / 0.6359 GB, free: 184 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1723, allocations: 3.938 kB / 0.6359 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1723, allocations: 4 kB / 0.6359 GB, free: 176 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.1724, allocations: 161.6 kB / 0.636 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1725, allocations: 0 / 0.636 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.404e-05/0.1725, allocations: 7.984 kB / 0.636 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1725, allocations: 0 / 0.636 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.1725, allocations: 0 / 0.636 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.1725, allocations: 8.031 kB / 0.636 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1725, allocations: 0 / 0.636 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.1728, allocations: 171.3 kB / 0.6362 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.1728, allocations: 77.11 kB / 0.6363 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.1728, allocations: 3.984 kB / 0.6363 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.1729, allocations: 8.031 kB / 0.6363 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.173, allocations: 0 / 0.6363 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.173, allocations: 4 kB / 0.6363 GB, free: 15.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.376e-05/0.173, allocations: 87.39 kB / 0.6364 GB, free: 15.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.173, allocations: 0 / 0.6364 GB, free: 15.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.1733, allocations: 16 kB / 0.6364 GB, free: 15.55 MB / 494.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 (2): * Single equations (assignments): 2 * 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.0005742/0.1738, allocations: 0.7164 MB / 0.6371 GB, free: 14.81 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.1741, allocations: 31.97 kB / 0.6371 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1741, allocations: 4.094 kB / 0.6371 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.358e-05/0.1742, allocations: 23.97 kB / 0.6372 GB, free: 14.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.1744, allocations: 1.406 kB / 0.6372 GB, free: 14.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004068/0.1748, allocations: 139.2 kB / 0.6373 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.1751, allocations: 0.6768 MB / 0.6379 GB, free: 13.87 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.515e-05/0.1751, allocations: 7.984 kB / 0.638 GB, free: 13.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.1751, allocations: 23.44 kB / 0.638 GB, free: 13.84 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1751, allocations: 0 / 0.638 GB, free: 13.84 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8737/1.049, allocations: 1.505 MB / 0.6394 GB, free: 12.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.4, allocations: 15.44 kB / 0.6395 GB, free: 12.39 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)