Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_8_Buildings_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.001136/0.001136, allocations: 108 kB / 15.61 MB, free: 152 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.0011/0.0011, allocations: 194.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.138/1.138, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.496/1.496, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001317, allocations: 65.19 kB / 0.6716 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1603, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001531/0.1619, allocations: 0.5852 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003879/0.1623, allocations: 191.3 kB / 0.7842 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.849e-06/0.1623, allocations: 0 / 0.7842 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.128e-05/0.1623, allocations: 0 / 0.7842 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.208e-06/0.1623, allocations: 0 / 0.7842 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.1627, allocations: 63.77 kB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.166e-05/0.1627, allocations: 4 kB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.345e-05/0.1627, allocations: 0 / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.324e-05/0.1628, allocations: 7.984 kB / 0.7843 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.511e-05/0.1628, allocations: 0 / 0.7843 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.089e-06/0.1628, allocations: 0 / 0.7843 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.1629, allocations: 59.88 kB / 0.7844 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.474e-06/0.163, allocations: 4 kB / 0.7844 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.26e-05/0.163, allocations: 0 / 0.7844 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.97e-05/0.1631, allocations: 35.94 kB / 0.7844 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.1631, allocations: 0 / 0.7844 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1631, allocations: 7.938 kB / 0.7844 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.1631, allocations: 0 / 0.7844 GB, free: 12.4 MB / 0.6075 GB 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.0002214/0.1633, allocations: 319.6 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.1634, allocations: 12.03 kB / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.76e-05/0.1634, allocations: 34.69 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.832e-05/0.1634, allocations: 0.9375 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.08e-05/0.1635, allocations: 160.4 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.1635, allocations: 384 / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.141e-06/0.1635, allocations: 384 / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.632e-05/0.1636, allocations: 42.19 kB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1636, allocations: 11.92 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-06/0.1636, allocations: 0 / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-06/0.1636, allocations: 0 / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.358e-05/0.1636, allocations: 0 / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001037/0.1637, allocations: 149.7 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 2.964e-05/0.1638, allocations: 18.52 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.305e-05/0.1638, allocations: 8.953 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006487/0.1645, allocations: 461.5 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.1645, allocations: 30.56 kB / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1645, allocations: 0 / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001099/0.1646, allocations: 45.56 kB / 0.7856 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.1647, allocations: 51.41 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.273e-05/0.1647, allocations: 93.86 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.1647, allocations: 25.7 kB / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.78e-05/0.1647, allocations: 80.14 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.1648, allocations: 3.906 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.1648, allocations: 13.72 kB / 0.7859 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.591e-05/0.1649, allocations: 310.8 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.244e-06/0.1649, allocations: 8.125 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.029e-06/0.1649, allocations: 0 / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.216e-05/0.1649, allocations: 12.84 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.1649, allocations: 0 / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.72e-05/0.165, allocations: 33.64 kB / 0.7863 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.165, allocations: 4 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.165, allocations: 3.938 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.165, allocations: 4 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.131e-05/0.165, allocations: 96 / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1651, allocations: 4 kB / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.286e-06/0.1651, allocations: 0 / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.1651, allocations: 4 kB / 0.7863 GB, free: 10.17 MB / 0.6075 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 (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 5.023e-05/0.1651, allocations: 113.8 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-06/0.1651, allocations: 0 / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.216e-05/0.1652, allocations: 40.98 kB / 0.7864 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1652, allocations: 0 / 0.7864 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1652, allocations: 0 / 0.7864 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1652, allocations: 7.969 kB / 0.7864 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.166e-05/0.1653, allocations: 149.7 kB / 0.7866 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1653, allocations: 4 kB / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.258e-05/0.1653, allocations: 3.938 kB / 0.7866 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1654, allocations: 0 / 0.7866 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.299e-06/0.1654, allocations: 3.938 kB / 0.7866 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1654, allocations: 0 / 0.7866 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1654, allocations: 0 / 0.7866 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.411e-05/0.1654, allocations: 61.12 kB / 0.7866 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.1655, allocations: 85.05 kB / 0.7867 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.1655, allocations: 3.938 kB / 0.7867 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.971e-06/0.1655, allocations: 0 / 0.7867 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.115e-05/0.1655, allocations: 8 kB / 0.7867 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.1655, allocations: 0 / 0.7867 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 1.902e-05/0.1655, allocations: 75.28 kB / 0.7868 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1655, allocations: 0 / 0.7868 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001823/0.1657, allocations: 16 kB / 0.7868 GB, free: 9.5 MB / 0.6075 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 (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.0003396/0.1661, allocations: 0.6202 MB / 0.7874 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.448e-05/0.1661, allocations: 8.031 kB / 0.7874 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1661, allocations: 0 / 0.7874 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.491e-06/0.1662, allocations: 0 / 0.7874 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001165/0.1663, allocations: 6.812 kB / 0.7874 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000246/0.1665, allocations: 122.5 kB / 0.7876 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.1667, allocations: 0.669 MB / 0.7882 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.925e-06/0.1667, allocations: 0 / 0.7882 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.3e-05/0.1667, allocations: 7.438 kB / 0.7882 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.1667, allocations: 0 / 0.7882 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.048/2.214, allocations: 1.127 MB / 0.7893 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/15.98, allocations: 10.31 kB / 0.7893 GB, free: 6.902 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)