Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_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.001276/0.001276, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002417/0.002418, allocations: 297.3 kB / 290.7 MB, free: 1.848 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.037/1.037, allocations: 178.6 MB / 0.5073 GB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002665/0.002665, allocations: 105.2 kB / 0.6065 GB, free: 24.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.158, allocations: 89.14 MB / 0.6936 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002521/0.1606, allocations: 1.438 MB / 0.695 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004848/0.1611, allocations: 251.2 kB / 0.6952 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.1611, allocations: 1.125 kB / 0.6952 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.24e-05/0.1611, allocations: 3.938 kB / 0.6952 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.766e-05/0.1612, allocations: 8.859 kB / 0.6953 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.1615, allocations: 59.83 kB / 0.6953 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.013e-05/0.1616, allocations: 23.36 kB / 0.6953 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.983e-05/0.1616, allocations: 8 kB / 0.6953 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.385e-05/0.1617, allocations: 11.97 kB / 0.6953 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.473e-05/0.1617, allocations: 11.94 kB / 0.6954 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.165e-06/0.1617, allocations: 0 / 0.6954 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.1619, allocations: 63.88 kB / 0.6954 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.1619, allocations: 4 kB / 0.6954 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.1619, allocations: 11.92 kB / 0.6954 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.162, allocations: 52.67 kB / 0.6955 GB, free: 2.301 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1621, allocations: 0 / 0.6955 GB, free: 2.301 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.1621, allocations: 0.6562 kB / 0.6955 GB, free: 2.301 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1621, allocations: 3.938 kB / 0.6955 GB, free: 2.297 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004348/0.1625, allocations: 347 kB / 0.6958 GB, free: 1.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.1626, allocations: 12.03 kB / 0.6958 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.9e-05/0.1626, allocations: 30.75 kB / 0.6959 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.406e-05/0.1626, allocations: 5.516 kB / 0.6959 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.1628, allocations: 172.3 kB / 0.696 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.1628, allocations: 384 / 0.696 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.1628, allocations: 384 / 0.696 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.1629, allocations: 50.23 kB / 0.6961 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.163, allocations: 3.938 kB / 0.6961 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.163, allocations: 0 / 0.6961 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.163, allocations: 0 / 0.6961 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.1631, allocations: 35.95 kB / 0.6961 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.1634, allocations: 256.8 kB / 0.6964 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.1636, allocations: 38.5 kB / 0.6964 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.093e-05/0.1637, allocations: 28.89 kB / 0.6964 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006853/0.1644, allocations: 461.5 kB / 0.6969 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.1644, allocations: 30.56 kB / 0.6969 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.1644, allocations: 0 / 0.6969 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003337/0.1647, allocations: 89.61 kB / 0.697 GB, free: 0.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.1648, allocations: 51.41 kB / 0.697 GB, free: 448 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.165e-05/0.1649, allocations: 101.8 kB / 0.6971 GB, free: 336 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.1649, allocations: 25.7 kB / 0.6972 GB, free: 304 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.1649, allocations: 88.14 kB / 0.6972 GB, free: 212 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.165, allocations: 3.906 kB / 0.6972 GB, free: 208 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.165, allocations: 13.72 kB / 0.6973 GB, free: 188 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1651, allocations: 318.8 kB / 0.6976 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-05/0.1652, allocations: 20.02 kB / 0.6976 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.779e-05/0.1653, allocations: 11.98 kB / 0.6976 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.1655, allocations: 44.81 kB / 0.6976 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1655, allocations: 3.938 kB / 0.6976 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001952/0.1657, allocations: 69.67 kB / 0.6977 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.1657, allocations: 4 kB / 0.6977 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.1657, allocations: 0 / 0.6977 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1657, allocations: 7.984 kB / 0.6977 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.65e-05/0.1658, allocations: 11.94 kB / 0.6977 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.1658, allocations: 0 / 0.6977 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.609e-05/0.1659, allocations: 11.92 kB / 0.6977 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.1659, allocations: 0 / 0.6977 GB, free: 15.67 MB / 0.4981 GB 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.639e-05/0.166, allocations: 118.5 kB / 0.6978 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.166, allocations: 0 / 0.6978 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.1662, allocations: 76.7 kB / 0.6979 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1662, allocations: 0 / 0.6979 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1662, allocations: 4 kB / 0.6979 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1662, allocations: 3.984 kB / 0.6979 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.1664, allocations: 165.5 kB / 0.6981 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1664, allocations: 0 / 0.6981 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.514e-05/0.1665, allocations: 12.02 kB / 0.6981 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.1665, allocations: 0 / 0.6981 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.1665, allocations: 4 kB / 0.6981 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1665, allocations: 0 / 0.6981 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1665, allocations: 0 / 0.6981 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.1667, allocations: 167.5 kB / 0.6983 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/0.1668, allocations: 77.11 kB / 0.6983 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.1668, allocations: 0 / 0.6983 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.1669, allocations: 7.984 kB / 0.6983 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.1669, allocations: 0 / 0.6983 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.1669, allocations: 7.938 kB / 0.6984 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.166e-05/0.167, allocations: 79.28 kB / 0.6984 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.167, allocations: 0 / 0.6984 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002295/0.1672, allocations: 19.98 kB / 0.6984 GB, free: 14.85 MB / 0.4981 GB 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.0006266/0.1678, allocations: 0.7141 MB / 0.6991 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002063/0.1681, allocations: 39.98 kB / 0.6992 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1681, allocations: 7.938 kB / 0.6992 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.888e-05/0.1682, allocations: 15.98 kB / 0.6992 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.1684, allocations: 4 kB / 0.6992 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003865/0.1688, allocations: 139.3 kB / 0.6993 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.1691, allocations: 0.6768 MB / 0.7 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.272e-05/0.1691, allocations: 0 / 0.7 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.1691, allocations: 19.36 kB / 0.7 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of SimCode: time 1.9e-07/0.1691, allocations: 0 / 0.7 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.1921, allocations: 1.498 MB / 0.7015 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.359/7.551, allocations: 11.84 kB / 0.7015 GB, free: 11.7 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.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 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)