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.001532/0.001532, allocations: 105.1 kB / 16.4 MB, free: 5.973 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.001697/0.001697, allocations: 195.1 kB / 17.34 MB, free: 5.582 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8003/0.8003, allocations: 122.9 MB / 414.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 64.78 kB / 0.568 GB, free: 28.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1504, allocations: 77.93 MB / 0.6441 GB, free: 9.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ1): time 0.001869/0.1524, allocations: 0.5677 MB / 0.6447 GB, free: 8.898 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005333/0.1529, allocations: 199.6 kB / 0.6448 GB, free: 8.703 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.725e-05/0.153, allocations: 0 / 0.6448 GB, free: 8.703 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.356e-05/0.153, allocations: 0 / 0.6448 GB, free: 8.703 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.892e-06/0.153, allocations: 0 / 0.6448 GB, free: 8.703 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/0.1535, allocations: 55.83 kB / 0.6449 GB, free: 8.648 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.985e-05/0.1535, allocations: 4 kB / 0.6449 GB, free: 8.645 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.1536, allocations: 7.984 kB / 0.6449 GB, free: 8.637 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.334e-05/0.1536, allocations: 0 / 0.6449 GB, free: 8.637 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.215e-05/0.1536, allocations: 4 kB / 0.6449 GB, free: 8.633 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.749e-06/0.1536, allocations: 0 / 0.6449 GB, free: 8.633 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.1538, allocations: 67.8 kB / 0.645 GB, free: 8.566 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.1538, allocations: 0 / 0.645 GB, free: 8.566 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.1539, allocations: 0 / 0.645 GB, free: 8.566 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.154, allocations: 44.09 kB / 0.645 GB, free: 8.523 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.154, allocations: 0 / 0.645 GB, free: 8.523 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.154, allocations: 0 / 0.645 GB, free: 8.523 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1541, allocations: 4 kB / 0.645 GB, free: 8.52 MB / 494.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.0003192/0.1544, allocations: 315.5 kB / 0.6453 GB, free: 8.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1544, allocations: 8.625 kB / 0.6453 GB, free: 8.152 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.91e-05/0.1545, allocations: 34.69 kB / 0.6454 GB, free: 8.109 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.465e-05/0.1545, allocations: 4.938 kB / 0.6454 GB, free: 8.105 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.696e-05/0.1546, allocations: 164.4 kB / 0.6455 GB, free: 7.906 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.1546, allocations: 384 / 0.6455 GB, free: 7.906 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.871e-06/0.1546, allocations: 4.375 kB / 0.6455 GB, free: 7.902 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.938e-05/0.1547, allocations: 30.27 kB / 0.6456 GB, free: 7.867 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1547, allocations: 3.938 kB / 0.6456 GB, free: 7.863 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.1547, allocations: 0 / 0.6456 GB, free: 7.863 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1547, allocations: 0 / 0.6456 GB, free: 7.863 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.729e-05/0.1547, allocations: 4 kB / 0.6456 GB, free: 7.859 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.1549, allocations: 145.7 kB / 0.6457 GB, free: 7.668 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.917e-05/0.1549, allocations: 22.52 kB / 0.6457 GB, free: 7.637 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/0.1549, allocations: 8.953 kB / 0.6457 GB, free: 7.625 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007403/0.1557, allocations: 457.5 kB / 0.6462 GB, free: 7.086 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.1557, allocations: 30.56 kB / 0.6462 GB, free: 7.047 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.1557, allocations: 0 / 0.6462 GB, free: 7.047 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000183/0.1559, allocations: 45.58 kB / 0.6462 GB, free: 6.996 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.1559, allocations: 55.53 kB / 0.6463 GB, free: 6.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.321e-05/0.156, allocations: 89.86 kB / 0.6464 GB, free: 6.832 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.156, allocations: 25.7 kB / 0.6464 GB, free: 6.801 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.42e-05/0.156, allocations: 80.14 kB / 0.6465 GB, free: 6.719 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.1561, allocations: 3.953 kB / 0.6465 GB, free: 6.715 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.1561, allocations: 13.72 kB / 0.6465 GB, free: 6.695 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.03e-05/0.1562, allocations: 318.8 kB / 0.6468 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-06/0.1562, allocations: 0 / 0.6468 GB, free: 6.375 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.754e-06/0.1562, allocations: 4 kB / 0.6468 GB, free: 6.371 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.444e-05/0.1562, allocations: 12.8 kB / 0.6468 GB, free: 6.355 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1563, allocations: 0 / 0.6468 GB, free: 6.355 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.137e-05/0.1563, allocations: 33.64 kB / 0.6469 GB, free: 6.316 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1563, allocations: 8 kB / 0.6469 GB, free: 6.309 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1563, allocations: 3.938 kB / 0.6469 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1564, allocations: 0 / 0.6469 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.788e-05/0.1564, allocations: 7.984 kB / 0.6469 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.1564, allocations: 4.031 kB / 0.6469 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.015e-05/0.1564, allocations: 4 kB / 0.6469 GB, free: 6.289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1565, allocations: 4 kB / 0.6469 GB, free: 6.285 MB / 494.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 6.589e-05/0.1565, allocations: 109.8 kB / 0.647 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.251e-06/0.1565, allocations: 0 / 0.647 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.685e-05/0.1566, allocations: 36.77 kB / 0.647 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1566, allocations: 3.984 kB / 0.647 GB, free: 6.121 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1566, allocations: 0 / 0.647 GB, free: 6.121 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1566, allocations: 3.984 kB / 0.647 GB, free: 6.117 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.237e-05/0.1567, allocations: 149.7 kB / 0.6472 GB, free: 5.922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1568, allocations: 0 / 0.6472 GB, free: 5.922 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.299e-05/0.1568, allocations: 3.938 kB / 0.6472 GB, free: 5.918 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1568, allocations: 0 / 0.6472 GB, free: 5.918 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.1568, allocations: 3.938 kB / 0.6472 GB, free: 5.914 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1568, allocations: 4 kB / 0.6472 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1568, allocations: 0 / 0.6472 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.616e-05/0.1569, allocations: 57.12 kB / 0.6472 GB, free: 5.836 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.1569, allocations: 81.14 kB / 0.6473 GB, free: 5.738 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.1569, allocations: 7.938 kB / 0.6473 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-06/0.157, allocations: 0 / 0.6473 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.075e-05/0.157, allocations: 0 / 0.6473 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.157, allocations: 0 / 0.6473 GB, free: 5.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.635e-05/0.157, allocations: 79.27 kB / 0.6474 GB, free: 5.652 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.157, allocations: 0 / 0.6474 GB, free: 5.652 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00021/0.1572, allocations: 15.94 kB / 0.6474 GB, free: 5.637 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 (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.000413/0.1576, allocations: 0.6201 MB / 0.648 GB, free: 4.984 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.177e-05/0.1577, allocations: 4 kB / 0.648 GB, free: 4.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1577, allocations: 4.094 kB / 0.648 GB, free: 4.977 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.094e-06/0.1577, allocations: 3.938 kB / 0.648 GB, free: 4.973 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.1579, allocations: 5.25 kB / 0.648 GB, free: 4.969 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002965/0.1582, allocations: 122.5 kB / 0.6482 GB, free: 4.809 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.1584, allocations: 0.669 MB / 0.6488 GB, free: 4.113 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.099e-05/0.1584, allocations: 0 / 0.6488 GB, free: 4.113 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.724e-05/0.1585, allocations: 7.438 kB / 0.6488 GB, free: 4.105 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1585, allocations: 4 kB / 0.6488 GB, free: 4.102 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.1779, allocations: 1.146 MB / 0.6499 GB, free: 3.039 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.518/7.696, allocations: 3.859 kB / 0.6499 GB, free: 3.035 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)