Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Functions.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_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.001186/0.001186, 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.001199/0.001199, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002446/0.002446, allocations: 278.7 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.048/1.048, allocations: 178.6 MB / 0.5073 GB, free: 4.559 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002654/0.002654, allocations: 96.55 kB / 0.6065 GB, free: 24.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1536, allocations: 89.15 MB / 0.6936 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001716/0.1554, allocations: 0.5907 MB / 0.6942 GB, free: 3.617 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004396/0.1558, allocations: 204.9 kB / 0.6944 GB, free: 3.418 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.031e-05/0.1558, allocations: 0 / 0.6944 GB, free: 3.418 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.325e-05/0.1559, allocations: 0.625 kB / 0.6944 GB, free: 3.418 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.478e-06/0.1559, allocations: 0 / 0.6944 GB, free: 3.418 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.1562, allocations: 61.75 kB / 0.6944 GB, free: 3.359 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.212e-05/0.1563, allocations: 0 / 0.6944 GB, free: 3.359 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.527e-05/0.1563, allocations: 0 / 0.6944 GB, free: 3.359 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.39e-05/0.1563, allocations: 4 kB / 0.6944 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.511e-05/0.1563, allocations: 0 / 0.6944 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.683e-06/0.1563, allocations: 0.6562 kB / 0.6944 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.1565, allocations: 62.12 kB / 0.6945 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-06/0.1565, allocations: 4 kB / 0.6945 GB, free: 3.293 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.452e-05/0.1565, allocations: 7.922 kB / 0.6945 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.955e-05/0.1566, allocations: 31.95 kB / 0.6945 GB, free: 3.254 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1567, allocations: 0 / 0.6945 GB, free: 3.254 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1567, allocations: 0 / 0.6945 GB, free: 3.254 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1567, allocations: 0 / 0.6945 GB, free: 3.254 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.000307/0.157, allocations: 321.5 kB / 0.6948 GB, free: 2.891 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.157, allocations: 12.03 kB / 0.6949 GB, free: 2.879 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.676e-05/0.1571, allocations: 30.75 kB / 0.6949 GB, free: 2.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.778e-05/0.1571, allocations: 0.9375 kB / 0.6949 GB, free: 2.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.526e-05/0.1572, allocations: 160.9 kB / 0.695 GB, free: 2.645 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.1572, allocations: 4.375 kB / 0.695 GB, free: 2.641 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-06/0.1572, allocations: 384 / 0.695 GB, free: 2.641 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.876e-05/0.1573, allocations: 30.27 kB / 0.6951 GB, free: 2.605 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1573, allocations: 7.875 kB / 0.6951 GB, free: 2.598 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-06/0.1573, allocations: 0 / 0.6951 GB, free: 2.598 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.1573, allocations: 0 / 0.6951 GB, free: 2.598 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.799e-05/0.1573, allocations: 7.984 kB / 0.6951 GB, free: 2.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/0.1575, allocations: 145.7 kB / 0.6952 GB, free: 2.398 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.041e-05/0.1575, allocations: 20.59 kB / 0.6953 GB, free: 2.371 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.68e-05/0.1576, allocations: 8.953 kB / 0.6953 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007191/0.1583, allocations: 457.5 kB / 0.6957 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.1583, allocations: 34.56 kB / 0.6957 GB, free: 1.777 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1583, allocations: 3.938 kB / 0.6957 GB, free: 1.773 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001155/0.1584, allocations: 33.64 kB / 0.6958 GB, free: 1.734 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.1585, allocations: 55.39 kB / 0.6958 GB, free: 1.668 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.003e-05/0.1585, allocations: 93.86 kB / 0.6959 GB, free: 1.566 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.1586, allocations: 25.7 kB / 0.6959 GB, free: 1.535 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.1586, allocations: 88.02 kB / 0.696 GB, free: 1.445 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.1586, allocations: 7.906 kB / 0.696 GB, free: 1.438 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.1587, allocations: 9.844 kB / 0.696 GB, free: 1.422 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1588, allocations: 318.8 kB / 0.6963 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.203e-06/0.1588, allocations: 0 / 0.6963 GB, free: 1.102 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-06/0.1588, allocations: 0 / 0.6963 GB, free: 1.102 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.622e-05/0.1588, allocations: 12.8 kB / 0.6963 GB, free: 1.086 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1588, allocations: 0 / 0.6963 GB, free: 1.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.073e-05/0.1589, allocations: 37.69 kB / 0.6964 GB, free: 1.043 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.1589, allocations: 4 kB / 0.6964 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1589, allocations: 8.031 kB / 0.6964 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1589, allocations: 4 kB / 0.6964 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3e-05/0.159, allocations: 0 / 0.6964 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.768e-06/0.159, allocations: 0 / 0.6964 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.586e-06/0.159, allocations: 0 / 0.6964 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.159, allocations: 0 / 0.6964 GB, free: 1.027 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 7.12e-05/0.1591, allocations: 110.8 kB / 0.6965 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.561e-06/0.1591, allocations: 0 / 0.6965 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.793e-05/0.1592, allocations: 44.69 kB / 0.6965 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1592, allocations: 8.031 kB / 0.6966 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.1592, allocations: 0 / 0.6966 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.1592, allocations: 0 / 0.6966 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.1593, allocations: 153.6 kB / 0.6967 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1593, allocations: 4 kB / 0.6967 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.193e-05/0.1593, allocations: 3.984 kB / 0.6967 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.1593, allocations: 0 / 0.6967 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1593, allocations: 3.938 kB / 0.6967 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1593, allocations: 0 / 0.6967 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1593, allocations: 3.984 kB / 0.6967 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.385e-05/0.1594, allocations: 65.08 kB / 0.6968 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.1595, allocations: 81.09 kB / 0.6969 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.1595, allocations: 3.938 kB / 0.6969 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.322e-06/0.1595, allocations: 0 / 0.6969 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.003e-05/0.1595, allocations: 4 kB / 0.6969 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.1595, allocations: 0 / 0.6969 GB, free: 464 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.025e-05/0.1595, allocations: 75.28 kB / 0.6969 GB, free: 388 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1596, allocations: 3.969 kB / 0.6969 GB, free: 384 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001905/0.1597, allocations: 16 kB / 0.697 GB, free: 368 kB / 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.0004459/0.1602, allocations: 0.6125 MB / 0.6976 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.888e-05/0.1603, allocations: 11.92 kB / 0.6976 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1603, allocations: 3.938 kB / 0.6976 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.51e-06/0.1603, allocations: 0 / 0.6976 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.1604, allocations: 5.891 kB / 0.6976 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002504/0.1607, allocations: 106.7 kB / 0.6977 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.161, allocations: 0.6729 MB / 0.6983 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.835e-06/0.161, allocations: 0 / 0.6983 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.528e-05/0.161, allocations: 15.56 kB / 0.6983 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.161, allocations: 0 / 0.6983 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.1809, allocations: 1.137 MB / 0.6995 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.272/7.453, allocations: 15.75 kB / 0.6995 GB, free: 13.77 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)