Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.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.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",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.001284/0.001284, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001346/0.001346, allocations: 195.7 kB / 16.14 MB, free: 6.715 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.297/1.297, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002127/0.002127, allocations: 286.9 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8788/0.8788, allocations: 169.2 MB / 0.4977 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 93.8 kB / 0.5946 GB, free: 28.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1752, allocations: 86.98 MB / 0.6795 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002468/0.1777, allocations: 1.488 MB / 0.681 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004217/0.1781, allocations: 260.8 kB / 0.6812 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.148e-05/0.1782, allocations: 0.7188 kB / 0.6812 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.1782, allocations: 3.984 kB / 0.6812 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.277e-05/0.1782, allocations: 8.5 kB / 0.6813 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.1784, allocations: 37.45 kB / 0.6813 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.595e-05/0.1784, allocations: 23.92 kB / 0.6813 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.064e-05/0.1785, allocations: 4 kB / 0.6813 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.683e-05/0.1785, allocations: 8 kB / 0.6813 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.075e-05/0.1785, allocations: 11.92 kB / 0.6813 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.71e-06/0.1785, allocations: 0 / 0.6813 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.1787, allocations: 71.88 kB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.658e-06/0.1787, allocations: 3.984 kB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.895e-05/0.1787, allocations: 11.94 kB / 0.6814 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.743e-05/0.1788, allocations: 52.08 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1788, allocations: 0 / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.81e-07/0.1788, allocations: 0 / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.1788, allocations: 0 / 0.6815 GB, free: 15.12 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.0003825/0.1792, allocations: 347.5 kB / 0.6818 GB, free: 14.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.632e-05/0.1793, allocations: 8.031 kB / 0.6818 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.773e-05/0.1793, allocations: 38.75 kB / 0.6818 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.753e-05/0.1793, allocations: 4.844 kB / 0.6819 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.478e-05/0.1794, allocations: 160.4 kB / 0.682 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.049e-06/0.1794, allocations: 384 / 0.682 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-06/0.1794, allocations: 4.375 kB / 0.682 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.1796, allocations: 54.23 kB / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.1796, allocations: 3.938 kB / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.1796, allocations: 3.984 kB / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.1796, allocations: 0 / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.1798, allocations: 39.89 kB / 0.6821 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000227/0.18, allocations: 245 kB / 0.6823 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.1801, allocations: 46.48 kB / 0.6824 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.894e-05/0.1802, allocations: 20.91 kB / 0.6824 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000568/0.1808, allocations: 449.5 kB / 0.6828 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1808, allocations: 42.48 kB / 0.6829 GB, free: 13.42 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1808, allocations: 0 / 0.6829 GB, free: 13.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003011/0.1811, allocations: 81.56 kB / 0.6829 GB, free: 13.33 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.1812, allocations: 55.39 kB / 0.683 GB, free: 13.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.178e-05/0.1812, allocations: 97.86 kB / 0.6831 GB, free: 13.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.1813, allocations: 25.83 kB / 0.6831 GB, free: 13.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.959e-05/0.1813, allocations: 88.14 kB / 0.6832 GB, free: 13.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.313e-05/0.1813, allocations: 7.844 kB / 0.6832 GB, free: 13.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.1814, allocations: 17.7 kB / 0.6832 GB, free: 13.01 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1815, allocations: 318.8 kB / 0.6835 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.65e-05/0.1816, allocations: 19.92 kB / 0.6836 GB, free: 12.67 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.801e-05/0.1816, allocations: 11.98 kB / 0.6836 GB, free: 12.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.1818, allocations: 48.81 kB / 0.6836 GB, free: 12.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1818, allocations: 3.938 kB / 0.6836 GB, free: 12.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001739/0.182, allocations: 61.67 kB / 0.6837 GB, free: 12.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.182, allocations: 7.984 kB / 0.6837 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-06/0.182, allocations: 0 / 0.6837 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/0.182, allocations: 0 / 0.6837 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.297e-05/0.1821, allocations: 12.03 kB / 0.6837 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.1821, allocations: 0 / 0.6837 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.965e-05/0.1822, allocations: 15.98 kB / 0.6837 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-06/0.1822, allocations: 0 / 0.6837 GB, free: 12.5 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 (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 6.842e-05/0.1822, allocations: 110.4 kB / 0.6838 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.1823, allocations: 4 kB / 0.6838 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.1825, allocations: 80.7 kB / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1825, allocations: 0 / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.1825, allocations: 0 / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.1825, allocations: 0 / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.1827, allocations: 161.6 kB / 0.684 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1827, allocations: 0 / 0.684 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.222e-05/0.1827, allocations: 7.984 kB / 0.6841 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.1827, allocations: 0 / 0.6841 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-06/0.1827, allocations: 0 / 0.6841 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1827, allocations: 4 kB / 0.6841 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1827, allocations: 4.031 kB / 0.6841 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.183, allocations: 167.4 kB / 0.6842 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.183, allocations: 81.02 kB / 0.6843 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-06/0.183, allocations: 0 / 0.6843 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.1831, allocations: 7.984 kB / 0.6843 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.1831, allocations: 4.031 kB / 0.6843 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.1832, allocations: 0 / 0.6843 GB, free: 11.78 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.512e-05/0.1832, allocations: 83.27 kB / 0.6844 GB, free: 11.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1832, allocations: 0 / 0.6844 GB, free: 11.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.1834, allocations: 20 kB / 0.6844 GB, free: 11.68 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.000685/0.1841, allocations: 0.7127 MB / 0.6851 GB, free: 10.94 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.1843, allocations: 39.89 kB / 0.6851 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.1843, allocations: 0 / 0.6851 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.707e-05/0.1844, allocations: 20.08 kB / 0.6852 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.1846, allocations: 7.938 kB / 0.6852 GB, free: 10.87 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003589/0.185, allocations: 149.5 kB / 0.6853 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.1852, allocations: 0.6731 MB / 0.686 GB, free: 9.988 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.954e-05/0.1852, allocations: 3.984 kB / 0.686 GB, free: 9.984 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.59e-05/0.1853, allocations: 11.5 kB / 0.686 GB, free: 9.973 MB / 494.1 MB Notification: Performance of SimCode: time 3.086e-06/0.1853, allocations: 0 / 0.686 GB, free: 9.973 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01016/0.1955, allocations: 1.326 MB / 0.6873 GB, free: 8.738 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/0.1957, allocations: 200.4 kB / 0.6875 GB, free: 8.484 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/1.857, allocations: 3.938 kB / 0.6875 GB, free: 8.48 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1)