Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.001128/0.001128, allocations: 107.1 kB / 16.4 MB, free: 6.48 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.001142/0.001142, allocations: 197.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 1.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7368/0.7368, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 68.19 kB / 0.5572 GB, free: 32.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1459, allocations: 76.18 MB / 0.6316 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.002823/0.1488, allocations: 1.424 MB / 0.633 GB, free: 3.465 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005969/0.1494, allocations: 260 kB / 0.6332 GB, free: 3.207 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.659e-05/0.1495, allocations: 4 kB / 0.6332 GB, free: 3.203 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.742e-05/0.1495, allocations: 0 / 0.6332 GB, free: 3.203 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.313e-05/0.1496, allocations: 7.938 kB / 0.6332 GB, free: 3.195 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.15, allocations: 59.81 kB / 0.6333 GB, free: 3.137 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.01e-05/0.1501, allocations: 15.98 kB / 0.6333 GB, free: 3.121 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1502, allocations: 8 kB / 0.6333 GB, free: 3.113 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.368e-05/0.1503, allocations: 7.938 kB / 0.6333 GB, free: 3.105 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.918e-05/0.1503, allocations: 15.92 kB / 0.6333 GB, free: 3.09 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.1504, allocations: 4 kB / 0.6333 GB, free: 3.086 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.1505, allocations: 63.92 kB / 0.6334 GB, free: 3.023 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.1505, allocations: 7.938 kB / 0.6334 GB, free: 3.016 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.1506, allocations: 4 kB / 0.6334 GB, free: 3.012 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.1507, allocations: 55.84 kB / 0.6335 GB, free: 2.957 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1508, allocations: 0 / 0.6335 GB, free: 2.957 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1508, allocations: 3.938 kB / 0.6335 GB, free: 2.953 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1508, allocations: 0 / 0.6335 GB, free: 2.953 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.0004979/0.1513, allocations: 342.3 kB / 0.6338 GB, free: 2.57 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.1513, allocations: 16.03 kB / 0.6338 GB, free: 2.555 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.1514, allocations: 34.75 kB / 0.6339 GB, free: 2.512 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.1514, allocations: 0.9375 kB / 0.6339 GB, free: 2.512 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.1516, allocations: 168.4 kB / 0.634 GB, free: 2.309 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1516, allocations: 384 / 0.634 GB, free: 2.309 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.1516, allocations: 4.375 kB / 0.634 GB, free: 2.305 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.1518, allocations: 54.17 kB / 0.6341 GB, free: 2.246 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1518, allocations: 3.938 kB / 0.6341 GB, free: 2.242 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.1518, allocations: 3.938 kB / 0.6341 GB, free: 2.238 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1518, allocations: 4 kB / 0.6341 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.152, allocations: 35.91 kB / 0.6341 GB, free: 2.199 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.1524, allocations: 248.9 kB / 0.6344 GB, free: 1.906 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.1526, allocations: 38.5 kB / 0.6344 GB, free: 1.859 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.697e-05/0.1527, allocations: 28.91 kB / 0.6344 GB, free: 1.828 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007464/0.1534, allocations: 453.5 kB / 0.6348 GB, free: 1.293 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.1535, allocations: 34.56 kB / 0.6349 GB, free: 1.25 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.1535, allocations: 0 / 0.6349 GB, free: 1.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003715/0.1538, allocations: 85.58 kB / 0.635 GB, free: 1.16 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.1539, allocations: 51.41 kB / 0.635 GB, free: 1.098 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.977e-05/0.154, allocations: 101.8 kB / 0.6351 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.154, allocations: 25.7 kB / 0.6351 GB, free: 0.957 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/0.1541, allocations: 84.14 kB / 0.6352 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.1541, allocations: 8.75 kB / 0.6352 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.1542, allocations: 17.84 kB / 0.6352 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1543, allocations: 310.8 kB / 0.6355 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.217e-05/0.1544, allocations: 19.97 kB / 0.6356 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/0.1544, allocations: 11.98 kB / 0.6356 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.1546, allocations: 44.83 kB / 0.6356 GB, free: 460 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.1546, allocations: 3.938 kB / 0.6356 GB, free: 456 kB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001882/0.1548, allocations: 69.66 kB / 0.6357 GB, free: 380 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1548, allocations: 4 kB / 0.6357 GB, free: 376 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1549, allocations: 0 / 0.6357 GB, free: 376 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1549, allocations: 0 / 0.6357 GB, free: 376 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.318e-05/0.155, allocations: 11.98 kB / 0.6357 GB, free: 364 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.155, allocations: 0 / 0.6357 GB, free: 364 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.708e-05/0.155, allocations: 15.95 kB / 0.6357 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.1551, allocations: 0 / 0.6357 GB, free: 348 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.913e-05/0.1551, allocations: 113.8 kB / 0.6358 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.1552, allocations: 0 / 0.6358 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.1554, allocations: 72.72 kB / 0.6359 GB, free: 144 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1554, allocations: 0 / 0.6359 GB, free: 144 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.1554, allocations: 4.188 kB / 0.6359 GB, free: 140 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1555, allocations: 4.031 kB / 0.6359 GB, free: 136 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.1557, allocations: 165.6 kB / 0.6361 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1557, allocations: 3.938 kB / 0.6361 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.685e-05/0.1558, allocations: 4 kB / 0.6361 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1558, allocations: 4 kB / 0.6361 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.1558, allocations: 3.984 kB / 0.6361 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1558, allocations: 3.938 kB / 0.6361 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1558, allocations: 4 kB / 0.6361 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.1561, allocations: 175.3 kB / 0.6362 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.1561, allocations: 77.11 kB / 0.6363 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.1561, allocations: 0 / 0.6363 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.1562, allocations: 4 kB / 0.6363 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.1563, allocations: 3.984 kB / 0.6363 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.1563, allocations: 4 kB / 0.6363 GB, free: 15.61 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.069e-05/0.1563, allocations: 79.31 kB / 0.6364 GB, free: 15.53 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1563, allocations: 8 kB / 0.6364 GB, free: 15.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.1566, allocations: 16 kB / 0.6364 GB, free: 15.5 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.0006348/0.1572, allocations: 0.7085 MB / 0.6371 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000216/0.1574, allocations: 39.89 kB / 0.6372 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1574, allocations: 0 / 0.6372 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.02e-05/0.1575, allocations: 15.98 kB / 0.6372 GB, free: 14.71 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.1578, allocations: 12.12 kB / 0.6372 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005806/0.1584, allocations: 139.2 kB / 0.6373 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.1587, allocations: 0.6768 MB / 0.638 GB, free: 13.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.451e-05/0.1587, allocations: 0 / 0.638 GB, free: 13.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.1588, allocations: 15.44 kB / 0.638 GB, free: 13.8 MB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1588, allocations: 0 / 0.638 GB, free: 13.8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.1767, allocations: 1.519 MB / 0.6395 GB, free: 12.35 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.459/7.636, allocations: 15.5 kB / 0.6395 GB, free: 12.34 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)