Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.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.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1",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.001178/0.001178, 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.001155/0.001155, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.294/1.294, allocations: 222.9 MB / 240.2 MB, free: 4.41 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: 271.1 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9324/0.9324, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002899/0.002899, allocations: 101.2 kB / 0.5953 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1775, allocations: 86.98 MB / 0.6803 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY1): time 0.002467/0.18, allocations: 1.424 MB / 0.6817 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005854/0.1806, allocations: 360.3 kB / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.985e-05/0.1806, allocations: 0 / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.1807, allocations: 0 / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.64e-05/0.1807, allocations: 7.938 kB / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.1811, allocations: 107.7 kB / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.053e-05/0.1811, allocations: 27.92 kB / 0.6822 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.1812, allocations: 0.7812 kB / 0.6822 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.416e-05/0.1812, allocations: 12.56 kB / 0.6822 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.522e-05/0.1812, allocations: 12.84 kB / 0.6822 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.133e-06/0.1812, allocations: 0 / 0.6822 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.1814, allocations: 131.8 kB / 0.6823 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.1815, allocations: 4.531 kB / 0.6823 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.551e-05/0.1815, allocations: 12.94 kB / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.1816, allocations: 88.09 kB / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1816, allocations: 4 kB / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1816, allocations: 1.031 kB / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.906e-06/0.1817, allocations: 0 / 0.6824 GB, free: 14.45 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.0003282/0.182, allocations: 355.4 kB / 0.6828 GB, free: 14.05 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.182, allocations: 12.02 kB / 0.6828 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.3e-05/0.1821, allocations: 34.75 kB / 0.6828 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.695e-05/0.1821, allocations: 4.938 kB / 0.6828 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.947e-05/0.1822, allocations: 164.3 kB / 0.683 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-06/0.1822, allocations: 384 / 0.683 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.1822, allocations: 4.359 kB / 0.683 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1823, allocations: 50.23 kB / 0.683 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.1823, allocations: 7.938 kB / 0.683 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-06/0.1824, allocations: 0 / 0.683 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1824, allocations: 4 kB / 0.683 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.1825, allocations: 31.95 kB / 0.6831 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.1827, allocations: 241 kB / 0.6833 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.1829, allocations: 46.44 kB / 0.6833 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.696e-05/0.183, allocations: 32.83 kB / 0.6834 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006484/0.1836, allocations: 465.5 kB / 0.6838 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.1837, allocations: 38.56 kB / 0.6838 GB, free: 12.72 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1837, allocations: 3.938 kB / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003016/0.184, allocations: 77.55 kB / 0.6839 GB, free: 12.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.184, allocations: 59.34 kB / 0.684 GB, free: 12.56 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.409e-05/0.1841, allocations: 106 kB / 0.6841 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.1841, allocations: 25.7 kB / 0.6841 GB, free: 12.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.1841, allocations: 80.14 kB / 0.6842 GB, free: 12.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.1841, allocations: 11.84 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.1842, allocations: 13.72 kB / 0.6842 GB, free: 12.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.601e-05/0.1843, allocations: 310.8 kB / 0.6845 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.924e-05/0.1843, allocations: 19.97 kB / 0.6845 GB, free: 11.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.999e-05/0.1844, allocations: 19.98 kB / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.1846, allocations: 40.83 kB / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1846, allocations: 3.938 kB / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001888/0.1848, allocations: 65.59 kB / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.1848, allocations: 8.094 kB / 0.6846 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.1848, allocations: 4 kB / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.575e-06/0.1848, allocations: 0 / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.558e-05/0.1849, allocations: 7.984 kB / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.1849, allocations: 0 / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.534e-05/0.185, allocations: 7.984 kB / 0.6847 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.185, allocations: 4 kB / 0.6847 GB, free: 11.8 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 5.53e-05/0.185, allocations: 110.4 kB / 0.6848 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.1851, allocations: 0 / 0.6848 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.1853, allocations: 76.78 kB / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.1853, allocations: 0 / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1853, allocations: 0 / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-06/0.1853, allocations: 0 / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.1854, allocations: 165.6 kB / 0.685 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1854, allocations: 3.938 kB / 0.685 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.511e-05/0.1855, allocations: 8 kB / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1855, allocations: 0 / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.1855, allocations: 8.031 kB / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1855, allocations: 3.984 kB / 0.685 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.1855, allocations: 3.938 kB / 0.685 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.1858, allocations: 159.5 kB / 0.6852 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.1858, allocations: 85 kB / 0.6853 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.1858, allocations: 4 kB / 0.6853 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.1859, allocations: 4.031 kB / 0.6853 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.1859, allocations: 7.984 kB / 0.6853 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.1859, allocations: 192 / 0.6853 GB, free: 11.08 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.366e-05/0.186, allocations: 87.27 kB / 0.6854 GB, free: 10.99 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.186, allocations: 0 / 0.6854 GB, free: 10.99 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000247/0.1862, allocations: 31.94 kB / 0.6854 GB, free: 10.96 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.0005989/0.1868, allocations: 0.7319 MB / 0.6861 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.187, allocations: 39.97 kB / 0.6861 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.187, allocations: 0 / 0.6861 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.531e-05/0.1871, allocations: 19.92 kB / 0.6862 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.1873, allocations: 9.703 kB / 0.6862 GB, free: 10.13 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003457/0.1877, allocations: 143.4 kB / 0.6863 GB, free: 9.953 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.1879, allocations: 0.6768 MB / 0.687 GB, free: 9.25 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.703e-05/0.1879, allocations: 0 / 0.687 GB, free: 9.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.188, allocations: 15.44 kB / 0.687 GB, free: 9.234 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.188, allocations: 0 / 0.687 GB, free: 9.234 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.2042, allocations: 1.752 MB / 0.6887 GB, free: 7.551 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.811/7.015, allocations: 11.2 kB / 0.6887 GB, free: 7.543 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1_res.csv --start-time 0.1 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe 2>&1)